mysql 拼写错误
我已经在我的 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
有人可以告诉我如何修复此错误。请
i have installed xampp on my linux (suse) pc. and started lampp with command
/opt/lampp/lampp start
it says:
Starting XAMPP for Linux 1.7.4...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
but when i try to connect to database using
mysql -u root -p
it gives me following error:
If 'mysql' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf mysql
can some one tell me how to fix this error. please
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,当你安装时,默认情况下为mysql用户
root
设置了密码,所以你必须更改密码或使用该密码来连接你的mysql参考
Linux 与 mysql
Actually , when u install there is by default password is set for mysql user
root
, so u have to change the password or use that password to connect your mysqlReference
Linux with mysql