27.06.2011, 10:00
MySQL Log:
MySQL Plugin R5 (G-sTyLeZzZ)
Web Server - XAMPP 1.7.4
Код:
[14:03:54] CMySQLHandler::CMySQLHandler() - Connecting to "127.0.0.1" | DB: "crazy" | Username: "root" ... [14:03:55] CMySQLHandler::Connect() - Can't connect to MySQL server on '127.0.0.1' (10061) (Error ID: 2003)
PHP код:
#define MYSQL_HOST "127.0.0.1"
#define MYSQL_USER "root"
#define MYSQL_PASS ""
#define MYSQL_DB "crazy"
mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS);
Web Server - XAMPP 1.7.4