18.07.2015, 16:56
Hi there. I have made my own gamemode-.. so , I started to do the database, works perfeclty, no error nothing. After I did the system without testing IT I have made a login/register system, a position save and a money save. Ah-.. and three commands. /pay , /me, /do . These works perfectly. But-.. After I start the console EVERY F****** database I try to connect to IT F****** says TO me that the didn't connected to the DATABASE. Cuz something IS FF****** using a password The F*** is wrong with that thing ?! I tried that on the host, the same, I tried that on XAMPP, not working. On wamp, not F****** working.
SERVER_LOG.
With WAMP is in french. With XAMPP is in english and I uninstalled XAMPP cuz' I thought that If I will use WAMP It will work oh. And I tried to reinstall XAMPP. 10 F****** TIMES
Connetion to the DATABASE on GM:
BTW, I'm using MYSQL 1.2.1 as it says in server log-..
SERVER_LOG.
Код:
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3z, ©2005-2014 SA-MP Team [09:55:08] filterscripts = "" (string) [09:55:08] [09:55:08] Server Plugins [09:55:08] -------------- [09:55:08] Loading plugin: itd [09:55:08] * iTD Plugin loaded. (Support for textdraw editor mouse/keyboard) [09:55:08] Loaded. [09:55:08] Loading plugin: mysql [09:55:08] SA:MP MySQL Plugin 1.2.1 Loaded. [09:55:08] Loaded. [09:55:08] MySQL: Query thread running. Thread safe: Yes. [09:55:08] Loading plugin: streamer [09:55:08] *** Streamer Plugin v2.7.4 by Incognito loaded *** [09:55:08] Loaded. [09:55:08] Loading plugin: sscanf [09:55:08] [09:55:08] =============================== [09:55:08] sscanf plugin loaded. [09:55:08] Version: 2.8.1 [09:55:08] © 2012 Alex "******" Cole [09:55:08] =============================== [09:55:08] Loaded. [09:55:08] Loading plugin: audio [09:55:08] *** Audio Plugin v0.5 R2 by Incognito loaded *** [09:55:08] Loaded. [09:55:08] Loaded 5 plugins. [09:55:08] [09:55:08] Filterscripts [09:55:08] --------------- [09:55:08] Loaded 0 filterscripts. [09:55:08] MySQL Error (0): Failed to connect. Accиs refusй pour l'utilisateur: 'root'@'@localhost' (mot de passe: OUI). [09:55:08] ---------------------------------- [09:55:08] RolePlay Gamode BY SpikeSpigel A.K.A Modrogeanu Cristian. [09:55:08] ---------------------------------- [09:55:08] Number of vehicle models: 0
Connetion to the DATABASE on GM:
Код:
mysql_connect("localhost", "root", "roleplay", ""); // IP , USERNAME , DATABASE, PASSWORD