MySQL trouble

GrixDB

New Member
Messages
4
Reaction score
0
Points
0
What's the address of my mysql server? I've tried grixdb.exofire.net, the website address, but I can't connect.
 

nomore

New Member
Messages
11
Reaction score
0
Points
0
localhost should work
if not, try exofire.net
if thats not working, rewrite the script

NoMore
 

Anna

I am just me
Staff member
Messages
11,758
Reaction score
586
Points
113
localhost does work for my site on exofire.net, so that would be the right then I assume :)
 

GrixDB

New Member
Messages
4
Reaction score
0
Points
0
Yeah, I tried, but I think the problem is that it's not finding the server at all, as if it's wrong address.. It is username.exofire.net right?
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
How are you trying to connect to the MySQL server? Is it from a script or program on the server itself, or from a remote place?
 

GrixDB

New Member
Messages
4
Reaction score
0
Points
0
It is an .exe. I use a .dll as a brigde to mysql. I don't think you know the programming langunage..

if !gmsql_init()
{
show_message(gmsql_errormessage())
break
}
if !gmsql_connect("grixdb.exofire.net","grixdb_grix","*","grixdb_game")
//(address of server, username, password, database)
{
show_message(gmsql_errormessage())
break
}
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Are you connecting remotely? If so we need to add your IP to the firewall. We don't allow open connections to the MySQL server.
 

t2t2t

New Member
Messages
690
Reaction score
0
Points
0
I doubt you could use mysql from x10 hosting for your game maker game, especially since it would be widespread (And then everyone would have problems sending their data). I would recommend something like i did (Encrypt the sting, make a form in web where it would be sent and then manually decrypt the string).
 
Last edited:

johnklah

New Member
Messages
2
Reaction score
0
Points
0
I need help for MySQL problem : could not find driver!!!!

My code is :

dbh = new PDO("mysql:host=$_dbhost;dbname=$_dbname", $_dbuser, $_dbpwd, array( PDO::ATTR_PERSISTENT => true));


Can you tell me why i have the error message : could not find driver ?
 
Top