Mysql connect
#1

Well i never tryed localhost but today i tried to but the problem is when i make a random username and connect, it doesn't asks me to register. Also when i try to create any org, it says the id is used. This is my debug mysql

Код:
00:16:55]  

[00:16:55] ---------------------------

[00:16:55] MySQL Debugging activated (03/12/12)

[00:16:55] ---------------------------

[00:16:55]  

[00:16:55] >> mysql_query( Connection handle: 1 )

[00:16:55] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[00:16:55] >> mysql_store_result( Connection handle: 1 )

[00:16:55] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[00:16:55] >> mysql_num_rows( Connection handle: 1 )
my connection for script
pawn Код:
#define MYSQL_HOST  "localhost"
#define MYSQL_USER  "localhost"
#define MYSQL_DB    "accounts"
#define MYSQL_PASS  ""
I used Xampp for http://localhost/phpmyadmin
Reply
#2

Mysql user should be root, not localhost
Reply
#3

Ah Thank you, repped.
Reply
#4

Try:
pawn Код:
#define MYSQL_HOST  "localhost"
#define MYSQL_USER  "root"
#define MYSQL_DB    "accounts"
#define MYSQL_PASS  ""
Reply
#5

Your welcome.

Dark, you don't need to repeat the same thing as me, he said ah thank you it means he already fixed it.
Reply
#6

Quote:
Originally Posted by vernz
Посмотреть сообщение
Your welcome.

Dark, you don't need to repeat the same thing as me, he said ah thank you it means he already fixed it.
yep,
i reply after Vernz, Sorry.
Reply
#7

Oh okay my bad, no problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)