loading...

When installing MySql via XAMPP (L.V), How you used with a command line ( Linux )

github logo ・1 min read

Hello everyone,

I wanna use MySQL ( it's installed with XAMPP not MySql alone ) just with a command line, I didn't know how to use it because there is no option to access MySql through command line prompt or console. So to solve this problem use this command line :

1 - You need to start server XAMPP : sudo /opt/lampp/lampp start ( for start all XAMPP service ) and sudo /opt/lampp/lampp startmysql ( only for mysql service )
2 - Now use: /opt/lampp/bin/mysql -uroot -p

so you can write MySQL command with Terminal

twitter logo DISCUSS
Classic DEV Post from Jun 23 '19

What Advice Would You Give Your 20-year-old Self?

If you could go back in time, what advice would you give your 20-year-old self?

Salah Eddine Mebkhouti profile image
Programmer of website Backbend Developer