CyberShot Posted September 4, 2009 Share Posted September 4, 2009 I am trying to create a database using wamp. I used the comand console in the wamp menu to create the database. I have a password on it. So when I open it, it asks for the password, I type it in and then it gives me the mysql> prompt like it's suppose to . So then I type CREATE DATABASE databaseName I am expecting it to return Query OK, 1 row affected (0.05 sec) Instead what I get is just this -> So then the next step is to type USE databasename In which case I would expect it to say Database changed mysql> But all I get is -> Anyone ever seen this and know what the problem is? Link to comment https://forums.phpfreaks.com/topic/173055-solved-issue-with-wamp/ Share on other sites More sharing options...
trq Posted September 4, 2009 Share Posted September 4, 2009 A You need a ; at the end of every command to tell mysql its complete. Link to comment https://forums.phpfreaks.com/topic/173055-solved-issue-with-wamp/#findComment-912136 Share on other sites More sharing options...
CyberShot Posted September 4, 2009 Author Share Posted September 4, 2009 Thanks my friend. I did that once, but I think I missed it on another line so it gave me a mysql syntax error, so I thought something was wrong with the semi colon. But I just retried and it works now. Link to comment https://forums.phpfreaks.com/topic/173055-solved-issue-with-wamp/#findComment-912138 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.