1

After I installed XAMP on my ubuntu 12.10 it was working fine with mysql.

I could start mysql- sudo mysql -uroot -p. I connet it using 127.0.0.1:3306

Recently I installed phpmyadmin. When I start it it shows access denied. I got solution from web:

sudo /etc/init.d/apache2 stop
sudo /etc/init.d/mysql stop
sudo /etc/init.d/proftpd stop
sudo /opt/lampp/lampp start

Now I start php myadmin it starts but now I could not connect with mysql on terminal.

Additionally phpmyadmin database does not shows all existing databse on mysql.

CAn anyone tell me what's going on here?

4

1 回答 1

1

这个问题可能有助于通过终端连接。

如何在 ubuntu 10.4 中使用终端使用 phpmyadmin mysql 数据库?

下面的命令用于通过终端访问 phpmyadmin mysql 数据库

/opt/lampp/bin/mysql -uusername -ppassword

phpmyadmin 在/opt/lampp/var/mysql位置包含数据库文件。您的旧 mysql 服务器可能包含不同位置的数据库文件。那是您无法获取数据库列表。

于 2013-10-31T10:29:32.157 回答