Can't connect to mysql server
#2

Quote:
Originally Posted by PabloAguado
Посмотреть сообщение
Well i have searched for a solution on ****** but didn't find any so i decided to post it here so basically i am trying to do this with phpmyadmin but when i open the server it says Access Denied when i never placed a password inside of it

pawn Код:
#define MYSQL_HOST  "localhost"
#define MYSQL_USER  "root"
#define MYSQL_DB    "LARPDB"
#define MYSQL_PASS  ""
Log

Код:
[23:31:17] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'root'@'localhost' (using password: YES)
[23:33:25] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "larpdb", password: "****", port: 3306, autoreconnect: true, pool_size: 2
[23:33:25] [DEBUG] CMySQLHandle::Create - creating new connection..
[23:33:25] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called
[23:33:25] [DEBUG] CMySQLHandle::Create - connection created (id: 1)
[23:33:25] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:33:25] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:33:25] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:33:25] [DEBUG] mysql_errno - connection: 0
[23:33:25] [ERROR] "mysql_errno" - invalid connection handle (id: 0)
[23:33:25] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:33:25] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:33:25] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:33:25] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:33:25] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:34:10] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "LARPDB", password: "****", port: 3306, autoreconnect: true, pool_size: 2
[23:34:10] [DEBUG] CMySQLHandle::Create - creating new connection..
[23:34:10] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called
[23:34:10] [DEBUG] CMySQLHandle::Create - connection created (id: 1)
[23:34:10] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:34:10] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:34:10] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:34:10] [DEBUG] mysql_errno - connection: 0
[23:34:10] [ERROR] "mysql_errno" - invalid connection handle (id: 0)
[23:34:10] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:34:10] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:34:10] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:34:10] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:34:10] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:34:10] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:42:02] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "LARPDB", password: "****", port: 3306, autoreconnect: true, pool_size: 2
[23:42:02] [DEBUG] CMySQLHandle::Create - creating new connection..
[23:42:02] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called
[23:42:02] [DEBUG] CMySQLHandle::Create - connection created (id: 1)
[23:42:02] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:42:02] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:42:02] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:42:02] [DEBUG] mysql_errno - connection: 0
[23:42:02] [ERROR] "mysql_errno" - invalid connection handle (id: 0)
[23:42:02] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:42:02] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:42:02] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:42:02] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:42:02] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:42:02] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:42:22] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "LARPDB", password: "****", port: 3306, autoreconnect: true, pool_size: 2
[23:42:22] [DEBUG] CMySQLHandle::Create - creating new connection..
[23:42:22] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called
[23:42:22] [DEBUG] CMySQLHandle::Create - connection created (id: 1)
[23:42:22] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:42:22] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:42:22] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:42:22] [DEBUG] mysql_errno - connection: 0
[23:42:22] [ERROR] "mysql_errno" - invalid connection handle (id: 0)
[23:42:22] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:42:22] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[23:42:22] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:42:22] [DEBUG] CMySQLConnection::Connect - connection was successful
[23:42:22] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:42:22] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[23:42:22] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
Make sure you've allowed it to use a password in your settings for mysql.
Reply


Messages In This Thread
Can't connect to mysql server - by PabloAguado - 30.09.2014, 03:45
Re: Can't connect to mysql server - by JordanDoughty - 30.09.2014, 10:03
Re: Can't connect to mysql server - by PabloAguado - 30.09.2014, 12:23
Re: Can't connect to mysql server - by PabloAguado - 30.09.2014, 21:27
Re: Can't connect to mysql server - by PabloAguado - 01.10.2014, 13:04
Re: Can't connect to mysql server - by PabloAguado - 02.10.2014, 03:25
Re: Can't connect to mysql server - by VishvaJeet - 02.10.2014, 03:29
Re: Can't connect to mysql server - by PabloAguado - 02.10.2014, 12:54
Re: Can't connect to mysql server - by Ox1gEN - 02.10.2014, 13:08
Re: Can't connect to mysql server - by PabloAguado - 04.10.2014, 21:28

Forum Jump:


Users browsing this thread: 2 Guest(s)