cant access mysql server

Status
Not open for further replies.

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
The MySQL servers are accessible only as "localhost". Remote access is deliberately disabled; databases are for use only by your web site. (As far as I know, even using 127.0.0.1 instead of the string "localhost" will not work.) If you need external access of any sort, you need to create an HTTP-based API (using PHP preferably, since PHP is the only scripting language that is stable across time here -- Python and/or Perl are sometimes enabled and sometimes disabled due to abuse).
 

gdriving

New Member
Messages
4
Reaction score
0
Points
0
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost.com' (4) in /home/gdriving/public_html/index.php on line 36
Can't connect to MySQL server on 'localhost.com' (4) here is my error when i use localhost as server name
 

Anna

I am just me
Staff member
Messages
11,783
Reaction score
595
Points
113
server should be localhost NOT localhost.com
 

gdriving

New Member
Messages
4
Reaction score
0
Points
0
is it posible for me to connect to my database using a vb.net application?
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
is it posible for me to connect to my database using a vb.net application?
If this VB.NET application is trying to remotely connecting to the database, it will not work on free hosting since Remote SQL is only enabled for certain paid plans. :wink:
 
Last edited:
Status
Not open for further replies.
Top