Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Problem with the MySQL-Part' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Problem with the MySQL-Part
Authored by: JAB on Apr 06, '01 05:01:01AM


I've done all as discribed. PHP works, Apache works, MySQL...hum...

When I want to create a new database at the mysql-prmpt the following happens:

mysql> create database xyz
-> quit

and so on...

At this point nothing happens. No database is created. I'm unable to quit with the command 'quit'. Only q works.

With an installed phpMyAdmin it is possible to create a new database, but it's impossible to creata new tables in that database...? Grmbl...

What went wrong?



[ Reply to This | # ]
Authored by: robg on Apr 06, '01 08:39:11AM

I think it's a simple syntax problem -- mySQL commands all end in a ";".

create database xyz;

Otherwise, mySQL thinks you're typing a multi-line command.


[ Reply to This | # ]