Mysql problem.
#2

mysql_connect(const host[], const user[], const pass[], const db[]);

I don't think the Database(db) can be null. Read the parameters that are written in the topic.

EDIT: Else you can just remove the const db. mysql_connect(const host[], const user[], const pass[]); and use mysql_select_db(dbname);
Reply


Messages In This Thread
Mysql problem. - by TH3_R3D™ - 16.07.2013, 15:35
Re: Mysql problem. - by gtakillerIV - 16.07.2013, 15:37
Re: Mysql problem. - by TH3_R3D™ - 16.07.2013, 15:45
Re: Mysql problem. - by DBan - 16.07.2013, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)