Help With MYSQL...
#1

Hey guys, before I've download Dan.'s Battlefield server (Now the thread is closed)So I can't connect to the MySQL Database... what I need to do??
MySQL Code:
pawn Код:
//====================================================

#define mysql_host "localhost"
#define mysql_user "galaxycs_us"
#define mysql_password "1234554321"
#define mysql_database "galaxycs_db"

//====================================================
Picture to see that display FAIL!



Please help!
Reply
#2

What are you using for data base?
What program..?
Reply
#3

What you mean what program?I use phpMyAdmin.
Reply
#4

Do you have password there?
try
Код:
#define mysql_host "localhost"
#define mysql_user "root"
#define mysql_password ""
#define mysql_database "galaxycs_db"
Is in your pc right?
Reply
#5

Actually I've buy domain and I make the database from the CPanel of the site.
Reply
#6

Are you trying to connect to localhost( wamp server ), or to an host phpMyAdmin?
Reply
#7

To phpMyAdmin.
Reply
#8

Well,if is not in your pc,why are you using localhost?
Is at the same host with the server host?
Try to use an ip.
Reply
#9

Still can't connect :/ Anyone?
Reply
#10

One question: Did you host your server on localhost(your pc ) or on pay host?

Quote:
Originally Posted by Smokkr
Посмотреть сообщение
Actually I've buy domain and I make the database from the CPanel of the site.
If i understand correct you buy WEB host and trying to connect your localhost server to it ?

- if its true then you cant , becose host (most of them) dont allow remove database use !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)