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

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

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

15条回答
  •  伪装坚强ぢ
    2020-11-28 01:30

    I had the same issue. Fistly, thats what i have :

    1. win 10
    2. xampp
    3. git bash

    and i have done this to fix my problem :

    1. go to search box(PC)
    2. tape this environnement variable
    3. go to 'path' click 'edit'
    4. add this "%systemDrive%\xampp\mysql\bin\" C:\xampp\mysql\bin\
    5. click ok
    6. go to Git Bash and right click it and open it and run as administrator
    7. right this on your Git Bash winpty mysql -u root if your password is empty or winpty mysql -u root -p if you do have a password

提交回复
热议问题