Leong13's avatar

I am learning Laravel, I am stuck at video 4 (connect to database)

C:\Users\User\Desktop\blog>mysql -uroot -p 'mysql' is not recognized as an internal or external command, operable program or batch file.

0 likes
3 replies
newbie360's avatar

if u are use the MySQL installer.msi to install

u can see MySQL Command Line Client - Unicode

in your start menu, just click it and type the password

if u want run in the cmd

add the path to Windows system variable, for example

C:\Program Files\MySQL\MySQL Server 5.7\bin

need to add a ; between each variable

restart computer

2 likes
jlrdw's avatar

Are you also new to programming? And what operating system are you using?

Please or to participate in this conversation.