16.11.2013, 04:54
First you must have XAMPP to run MySQL via Localhost
Anyway, are you going to run it first by localhost or you want to put it immediate online?
Код:
#define MySQL_HOST "localhost" //To run MySQL by Home host or localhost (Do not change this) #define MySQL_USER "root" //default phpMyAdmin username (Do not change) #define MySQL_PASS " " //default phpMyAdmin password is empty (You will need to change it later) #define MySQL_DB "sa-mp" //Now here is your database you have created.