【发布时间】: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给了什么?