SA-MP Forums Archive
Server can't connect. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server can't connect. (/showthread.php?tid=545853)



Server can't connect. - FeaRXPhobia - 11.11.2014

I'm completely lost.
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z-R3, ©2005-2014 SA-MP Team

filterscripts = ""  (string)
weburl = "www.sa-mp.com"  (string)

Server Plugins
--------------
 Loading plugin: mysql.dll


  > MySQL plugin R7 successfully loaded.

  Loaded.
 Loading plugin: Whirlpool.dll

 ==================

  Whirlpool loaded

 ==================

  Loaded.
 Loading plugin: streamer.dll


*** Streamer Plugin v2.7.1 by Incognito loaded ***
  Loaded.
 Loading plugin: sscanf.dll


 ===============================

      sscanf plugin loaded.

         Version:  2.8.1

   © 2012 Alex "******" Cole

 ===============================

  Loaded.
 Loaded 4 plugins.


Ban list
--------
 Loaded: samp.ban


Started server on port: 7777, with maxplayers: 50 lanmode is OFF.


Filterscripts
---------------
  Loaded 0 filterscripts.




 =======================================
 |                                     |
 |        YSI version 1.06.0002        |
 |        By Alex "******" Cole        |
 |                                     |
 =======================================

New HTTP request for URL ysi-version.y-less.com/index.php?c=2&v=1.06.0002 and CB
: YVers_Callback
In Script HTTP thread 0x1099478 0x10E74B8
[SQL] Connection to "127.0.0.1" failed! Please check the connection settings...
VG:RP
Number of vehicle models: 0

 ==========================================
 |                                        |
 |  A new version (v3.09.0684) of YSI is  |
 |            available from:             |
 |                                        |
 |     www.y-less.com/YSI/YSI_1.0.zip     |
 |                                        |
 | Changelog:                             |
 |                                        |
 |   3.00.0000:                           |
 |                                        |
 |   YSI 3.0 released!  Now includes the  |
 | "y_text" library for better messages,  |
 | and a reworked "y_classes" library.    |
 | Largely documented here                |
 | "http://forum.sa-mp.com/showthread.php |
 | ?t=321092".                            |
 |                                        |
 |   3.01.0002:                           |
 |                                        |
 |   Small fixes to "y_text" and          |
 | "y_classes".                           |
 |                                        |
 |   3.09.0684:                           |
 |                                        |
 |   Reverted to old download location.   |
 | Improved (and fixed) version checks;   |
 | added y_bitmap, y_areas, y_races,      |
 | y_zonenames, better documentation;     |
 | MANY other bug fixes - see the github  |
 | repository for more details:           |
 |                                        |
 ==========================================

HTTP[0:ysi-version.y-less.com/index.php?c=2&v=1.06.0002:0] normal termination.



Re: Server can't connect. - DankMayne - 11.11.2014

pawn Код:
[SQL] Connection to "127.0.0.1" failed! Please check the connection settings...
Make sure you're using the right MySQL information.


Re: Server can't connect. - ThunderX - 11.11.2014

i think there some error some where in your gamemode


Re: Server can't connect. - Eth - 11.11.2014

no there is not , it means that he is not connecting with the right information .


Re: Server can't connect. - FeaRXPhobia - 11.11.2014

So where would I fix all this?


Re: Server can't connect. - Eth - 11.11.2014

Okay answers these questions So I can know how you can fix it:

1. Are you using wamp server or something in creating a database?

2. Show me the mysql informations in your GM .


Re: Server can't connect. - FeaRXPhobia - 11.11.2014

1.) I'm using XAMPP
2.)
Код:
#define SQL_HOSTNAME "127.0.0.1"
#define SQL_USERNAME "root"
#define SQL_DATABASE "JohnnyI"
#define SQL_PASSWORD ""



Re: Server can't connect. - Eth - 11.11.2014

at 2.

are you sure that your database doesn't have a password?

I had this problem before and what I did that I set a password for my phpmyadmin

then at the SQL_PASSWORD I inserted the password so try it,

Go to phpmyadmin and go to settings then put in a password

and then change:
pawn Код:
#define SQL_PASSWORD ""
to:
pawn Код:
#define SQL_PASSWORD "yourpasshere" //CHANGE yourpasshere to your own password.



Re: Server can't connect. - FeaRXPhobia - 11.11.2014

I'm having issues with this, could you help me through teamviewer?


Re: Server can't connect. - Eth - 11.11.2014

hmm sure Okay Add me on skype eth.eth5..