Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 802
Dhinakar Avatar asked Jan 18 '26 21:01

Dhinakar


2 Answers

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.

like image 194
Silviu Avatar answered Jan 21 '26 13:01

Silviu


The Below command used to access phpmyadmin mysql database though terminal

/opt/lampp/bin/mysql -uroot -ppassword
like image 26
Dhinakar Avatar answered Jan 21 '26 14:01

Dhinakar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!