开发者

mysql typo error

开发者 https://www.devze.com 2023-02-19 17:34 出处:网络
i have installed xampp on my linux (suse) pc. and started lampp with command /opt/lampp/lampp start it says:

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

精彩评论

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

关注公众号