MySQL Connect
#1

How to connect MySQL StrickenKid?
Code:
new MySQL:connection;

MySQL_Connect()
{
              connection = mysql_init(LOG_ONLY_ERRORS, 1); 
              mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATA, connection, 1);

	if() // What to add?
	{
              // Connect MySQL
	}
	else
	{
              // No connect MySQL
	}
	return 1;
}
Reply


Messages In This Thread
MySQL Connect - by KamilPolska - 04.07.2018, 00:09
Re: MySQL Connect - by kovac - 04.07.2018, 00:17

Forum Jump:


Users browsing this thread: 1 Guest(s)