开发者

mysql typo error

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.开发者_JAVA百科..
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


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 mysql

Reference

Linux with mysql

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜