MySQL table does not create
#1

I've use
PHP код:
CREATE TABLE IF NOT EXISTS 
in OnGameModeInit and nothing happen on phpmyadmin

LOG ERRORS in logs/errors.log

Код:
[11:39:25] [plugins/mysql] CConnection::CConnection - establishing connection to MySQL database failed: #1049 'Unknown database 'gmldb''
[11:39:25] [plugins/mysql] CConnection::CConnection - establishing connection to MySQL database failed: #1049 'Unknown database 'gmldb''
[11:39:25] [plugins/mysql] CConnection::CConnection - establishing connection to MySQL database failed: #1049 'Unknown database 'gmldb''
[11:39:25] [plugins/mysql] CConnection::CConnection - establishing connection to MySQL database failed: #1049 'Unknown database 'gmldb''
[11:39:25] [plugins/mysql] mysql_query: invalid connection handle '0'
[11:39:25] [plugins/mysql] mysql_query: invalid connection handle '0'
logs/plugins/mysql.log

Код:
[11:39:25] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #1049 'Unknown database 'gmldb''
[11:39:25] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #1049 'Unknown database 'gmldb''
[11:39:25] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #1049 'Unknown database 'gmldb''
[11:39:25] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #1049 'Unknown database 'gmldb''
[11:39:25] [ERROR] mysql_query: invalid connection handle '0'
[11:39:25] [ERROR] mysql_query: invalid connection handle '0'
SOLVED.
Reply
#2

Did you create the database?
Are database services (on localhost) on?
Reply
#3

Quote:
Originally Posted by v1k1nG
Посмотреть сообщение
Did you create the database?
Are database services (on localhost) on?
Yes I did both
Reply
#4

you using your vps?
Reply
#5

Quote:
Originally Posted by DeMoo
Посмотреть сообщение
you using your vps?
is hosted on my PC on localhost
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)