27.06.2013, 15:24
The error #1046 means
mysql_connect params are something like this:
mysql_connect(host, user, DATABASE, pass)
Make sure you inserted a valid database.
You can try to run this query:
"USE database_name"
to select the database to use (check the mysql_connect line before try this, this should be automatic!)
Oh:
script database is valid? Is created?
Код:
#1046 - No database selected
mysql_connect(host, user, DATABASE, pass)
Make sure you inserted a valid database.
You can try to run this query:
"USE database_name"
to select the database to use (check the mysql_connect line before try this, this should be automatic!)
Oh:
script database is valid? Is created?