New Developer
-
Posts
3 -
Joined
-
Last visited
Posts posted by New Developer
-
-
Thank you for the link!
i actually tried that earlier, that syntax exactly, and the error message keeps popping up . -
i am new to php and mysql, and really enjoying your book. thank you!
one quick question:
i was able to successfully access mysql through the command line yet i am having trouble with the -u and -p arguments:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corrosponds to your MySQL server version forthe right syntax to use near '-u root -p' at line 1
mysql>
i am running version 5.6.16
where can i look to find the correct syntax? (i poked around online for a bit but wasn't succesful)
thanks again for the great book!
Sql -U And -P Prompts
in PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
Posted
i found a way to make it work. here is the link:
http://www.elated.com/articles/mysql-for-absolute-beginners/
cd c:\xampp\mysql\bin and press Enter, then type mysql -u root and press Enter.
Thanks again