[Tutorial] A tutorial on MySQL connections!
#9

There's a typo in your tutorial.

These are wrong.
pawn Code:
mysql_connections[0] = mysql_connect("127.0.0.1", "root", "", "database");
mysql_connections[1] = mysql_connect("127.0.0.1", "root", "", "second_database");
Should be this;
pawn Code:
mysql_connections[0] = mysql_connect("127.0.0.1", "root", "database", "");
mysql_connections[1] = mysql_connect("127.0.0.1", "root", "second_database", "");
Reply


Messages In This Thread
A tutorial on MySQL connections! - by Abagail - 16.02.2015, 21:42
Re: A tutorial on MySQL connections! - by Ryan_Bowe - 16.02.2015, 21:52
Re: A tutorial on MySQL connections! - by Abagail - 16.02.2015, 21:53
Re: A tutorial on MySQL connections! - by Vince - 16.02.2015, 21:57
Re: A tutorial on MySQL connections! - by Abagail - 16.02.2015, 22:02
Re: A tutorial on MySQL connections! - by Ryan_Bowe - 16.02.2015, 22:18
Re: A tutorial on MySQL connections! - by Abagail - 16.02.2015, 22:19
Re: A tutorial on MySQL connections! - by Ryan_Bowe - 16.02.2015, 22:22
Re: A tutorial on MySQL connections! - by Luis- - 20.02.2015, 17:23
Re: A tutorial on MySQL connections! - by Abagail - 20.02.2015, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)