Home >Database >Mysql Tutorial >How Do I Access the MySQL Command Line Using XAMPP on Windows?
Accessing the MySQL Command Line with XAMPP on Windows
If you're working with XAMPP for Windows and need access to the MySQL command line, the solution is simple.
Steps to Access MySQL Command Line:
To access the MySQL command line, execute the following command:
mysql.exe -u root --password
You are now connected to the MySQL server and can run commands as needed, such as:
For ease of access, consider creating a shortcut to the "bin" folder on your desktop or in a convenient location. This will allow you to quickly access the MySQL command line whenever needed.
The above is the detailed content of How Do I Access the MySQL Command Line Using XAMPP on Windows?. For more information, please follow other related articles on the PHP Chinese website!