28.01.2017, 21:10
(
Последний раз редактировалось AndreiWow; 28.01.2017 в 22:02.
)
#EDIT
I MADE IT WORK WITH THIS
I MADE IT WORK WITH THIS
Код:
MHandle = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS); if(MHandle) { printf("[MYSQL]: Connection Success to database: %s !", SQL_DB); mysql_query("CREATE TABLE IF NOT EXISTS `players`(`id` int(11) NOT NULL auto_increment PRIMARY KEY,`Username` varchar(30) NOT NULL,`Password` varchar(50) NOT NULL,`Money` int(10) NOT NULL default '0')"); } else { print("[MYSQL]: Failed to connect with using Following Informations: "); printf(" Host: %s | User: %s | Password: ****** | Database: %s", SQL_HOST, SQL_USER, SQL_DB); }