How can I access the MySQL command line with XAMPP for Windows?

前端 未结 15 2324
甜味超标
甜味超标 2020-11-28 00:54

How can I access the MySQL command line with XAMPP for Windows?

15条回答
  •  生来不讨喜
    2020-11-28 01:30

    To access MySQL in Windows you need to install the XAMPP.

    • Open the XAMPP Control Panel and start MySQL.
    • Now go to the command prompt and open

      C:\>cd xampp
      C:\xampp>cd MySQL 
      C:\xampp\mysql>cd bin 
      C:\xampp\mysql\bin>mysql -h localhost -u root
      

    Your database is now ready to be executed.

提交回复
热议问题