[Ajuda] MySQL
#1

Olб
Estou com um problema ao conectar na database, Jб procurei alguns tуpicos no fуrum sobre este erro mais nгo consegui arrumar

(Error ID: 1045)
pawn Код:
[15:36:56]  ** MySQL Debugging enabled (05/11/16)
[15:36:56]  
[15:36:56] >> mysql_connect(localhost, phsql, servidorph, ******) on port 3306
[15:36:56] CMySQLHandler::CMySQLHandler() - constructor called.
[15:36:56] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "servidorph" | Username: "phsql"
[15:36:56] CMySQLHandler::Connect() - Access denied for user 'phsql'@'localhost' (using password: YES) (Error ID: 1045)
[15:37:27] >> mysql_query_callback( Connection handle: 1 )
[15:37:32] >> mysql_query_callback( Connection handle: 1 )
pawn Код:
// Variбveis
new mysql_host[] = "localhost", mysql_user[] = "phsql", mysql_database[] = "servidorph", mysql_password[] = "245025";

// Ongameinit
mysql_connect(mysql_host, mysql_user, mysql_database, mysql_password);
Estou usando o Wamp й nгo faz muito tempo que estou estudando sobre MySQL
Reply


Messages In This Thread
MySQL - by ZEDD666 - 11.05.2016, 18:39
Re: MySQL - by willttoonn - 11.05.2016, 18:47
Re: MySQL - by ZEDD666 - 11.05.2016, 19:08
Re: MySQL - by pWesley - 11.05.2016, 19:15
Re: MySQL - by ZEDD666 - 11.05.2016, 21:24

Forum Jump:


Users browsing this thread: 3 Guest(s)