Dhinakar
Dhinakar

Reputation: 4151

How to use phpmyadmin mysql database using terminal in ubuntu 10.4?

Can any one help me to use phpmyadmin mysql database through terminal.

I am using ubuntu 10.4.

I guess the command like this /opt/var/usr/ mysql. I'm not sure about it.

Upvotes: 3

Views: 17028

Answers (2)

Dhinakar
Dhinakar

Reputation: 4151

Answer:

The Below command used to access phpmyadmin mysql database though terminal

/opt/lampp/bin/mysql -uroot -ppassword

Upvotes: 3

Silviu
Silviu

Reputation: 835

In terminal just type:

mysql -u username -p

and afterwards you'll be prompted for your password.

Normally MySQL is added to /bin/ so no need to explicitly give a path to it.

Upvotes: 6

Related Questions