Help please! I downloaded mysql, xampp, and wampserver but I don't know how to access sql in the cmd? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Help please! I downloaded mysql, xampp, and wampserver but I don't know how to access sql in the cmd?

I'm very very new to the whole coding field. Can someone just point me in the right direction? I'm super confused. I

30th Aug 2017, 9:35 PM
Loi Tran
Loi Tran - avatar
7 Answers
+ 1
Also you can just try localhost/phpmyadmin in your browser. It for sure easier then via command line and if you want to learn queries you can in phpmyadmin.
30th Aug 2017, 10:11 PM
Edwin J
Edwin J - avatar
+ 1
Try the same password and user name in phpmyadmin. root/root Or even no password.
30th Aug 2017, 10:18 PM
Edwin J
Edwin J - avatar
0
Go to wamp folder, find mysql.exe, have fun. You can use cmd.exe as you command line interface or install PowerShell and save yourself a hadeache. ;) Ask if you need more assistance.
30th Aug 2017, 9:48 PM
Edwin J
Edwin J - avatar
0
What about for xampp? I'm using a Mac.
30th Aug 2017, 10:03 PM
Loi Tran
Loi Tran - avatar
0
Try this in your terminal: /Applications/xampp/xamppfiles/bin/mysql -u root -p If you didn't changed password when installing, by default it should be "root" (not sure tho, but try it).
30th Aug 2017, 10:06 PM
Edwin J
Edwin J - avatar
0
for some reason, the password seems to be incorrect
30th Aug 2017, 10:16 PM
Loi Tran
Loi Tran - avatar
0
mysql -uroot -p and type your password
30th Aug 2017, 10:16 PM
darco
darco - avatar