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

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

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

15条回答
  •  庸人自扰
    2020-11-28 01:54

    Your MySQL binaries should be somewhere under your XAMPP folder. Look for a /bin folder, and you'll find the mysql.exe client around. Let's assume it is in c:\xampp\mysql\bin, then you should fireup a command prompt in this folder.

    That means, fire up "cmd", and type:

    cd c:\xampp\mysql\bin
    mysql.exe -u root --password
    

    If you want to use mysqldump.exe, you should also find it there.

    Log into your mysql server, and start typing your commands.

    Hope it helps...

提交回复
热议问题