SA-MP Forums Archive
Couldn't connect to databaste - 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: Couldn't connect to databaste (/showthread.php?tid=556639)



Couldn't connect to databaste - Glossy42O - 11.01.2015

... title^^
http://tinypic.com/view.php?pic=6tpk6e&s=8#.VLIg5NJ1kdU


Re: Couldn't connect to databaste - bgedition - 11.01.2015

Show me connection handle


Re: Couldn't connect to databaste - Glossy42O - 11.01.2015

got no idea what it is


Re: Couldn't connect to databaste - Ironboy - 11.01.2015

Quote:
Originally Posted by Stuun23
Посмотреть сообщение
got no idea what it is
The log


Re: Couldn't connect to databaste - Glossy42O - 11.01.2015

Код:
[03:22:20] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "lsgw", password: "****", port: 3306, autoreconnect: true, pool_size: 2
[03:22:20] [DEBUG] CMySQLHandle::Create - creating new connection..
[03:22:20] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called
[03:22:20] [DEBUG] CMySQLHandle::Create - connection created (id: 1)
[03:22:20] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[03:22:21] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[03:22:21] [DEBUG] mysql_errno - connection: 1
[03:22:21] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[03:22:21] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[03:22:21] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[03:22:22] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[03:22:22] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)



Re: Couldn't connect to databaste - Ryz - 11.01.2015

Do you running server on your own pc? or any hosting site?


Re: Couldn't connect to databaste - bgedition - 11.01.2015

change "localhost" to "127.0.0.1"


Re: Couldn't connect to databaste - Glossy42O - 11.01.2015

Now i don't see that but i can't see any login dialog


Re: Couldn't connect to databaste - S4MSUNG - 11.01.2015

Have you tried installing xampp ?


Re: Couldn't connect to databaste - Glossy42O - 11.01.2015

i got it