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 Feb 1

What is your morning routine?

So I wanted to try and do at least a post a week, and I didn't have much time to prepare one this wee...

Salah Eddine Mebkhouti profile image
Programmer of website Backbend Developer

dev.to is where software developers stay in the loop and avoid career stagnation.

Sign up (for free)