30.09.2014, 03:45
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
Log
pawn Код:
#define MYSQL_HOST "localhost"
#define MYSQL_USER "root"
#define MYSQL_DB "LARPDB"
#define MYSQL_PASS ""
Код:
[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