小编Ari*_*ant的帖子

无法在 Ubuntu 中安装 mysql-server

我无法在我的 ubuntu 9.10 服务器机器上安装 mysql-server。使用 apt-get install mysql-server 时,输出为:

# apt-get install mysql-server

Reading package lists... Done
Building dependency tree
Reading state information... Done

mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 120 not upgraded.
2 not fully installed or removed.

After this operation, 0B of additional disk space will be used.
Setting up mysql-server-5.1 (5.1.37-1ubuntu5.4) ...
* Stopping MySQL database server 
    Mysqld    [ OK ]
* Starting MySQL database server 
mysqld [fail] …
Run Code Online (Sandbox Code Playgroud)

mysql ubuntu apt

17
推荐指数
2
解决办法
4万
查看次数

运行mysql命令时出现“用户'root'@'localhost'的访问被拒绝(使用密码:NO)”

可能的重复:
我应该如何在 MySQL 安装过程中诊断 ERROR 1045?

服务器在 Ubuntu 9.10 64b 上运行。

我已经从源代码安装了 mysql-server。安装已成功完成,但是当我mysql在终端中运行命令时,出现以下错误:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Run Code Online (Sandbox Code Playgroud)

这意味着什么 ?我如何纠正这个错误?

mysql ubuntu

0
推荐指数
1
解决办法
3275
查看次数

标签 统计

mysql ×2

ubuntu ×2

apt ×1