【问题标题】:mysql typo errormysql拼写错误
【发布时间】:2011-07-21 04:01:46
【问题描述】:

我已经在我的 linux (suse) 电脑上安装了 xampp。并用命令启动lampp

/opt/lampp/lampp 启动

上面写着:

Starting XAMPP for Linux 1.7.4...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

但是当我尝试使用连接到数据库时

mysql -u root -p

它给了我以下错误:

If 'mysql' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf mysql

谁能告诉我如何解决这个错误。请

【问题讨论】:

  • 是否安装了 MySQL 命令行客户端? whereis mysql 给了什么?

标签: mysql xampp


【解决方案1】:

实际上,当你安装时,默认为mysql用户设置密码root,所以你必须更改密码或使用该密码连接你的mysql

参考

Linux with mysql

【讨论】:

    猜你喜欢
    • 2018-06-15
    • 1970-01-01
    • 2016-05-14
    • 1970-01-01
    • 1970-01-01
    • 2022-12-07
    • 2020-12-20
    • 1970-01-01
    相关资源
    最近更新 更多