How? [Quick reply needed]
#1

How can i connect to MySQL database which is NOT "localhost".

like we normally connect MySQL to localhost which is 127.0.0.1.

I want to connect to my Web-host directly

My script is in VPS.


i used my details of web host but its damn slow on starting then its not connection properly when i join server i crashes. (Server crashes).

Is it really possible or my tries are useless?
Reply
#2

You can connect to your web host with the servers IP address of the host.
Reply
#3

As i mentioned it doesn't works properly. Firstly server takes about 10 minutes to start after that when i connect it crashes and debug its "Dead Connection"
Reply
#4

Did you contact your host about the MYSQL connection to see if they could help you?
Reply
#5

http://developedtraffic.com/resource...l-database.php

try searching next time..
Reply
#6

Quote:
Originally Posted by Jarnu
Посмотреть сообщение
How can i connect to MySQL database which is NOT "localhost".

like we normally connect MySQL to localhost which is 127.0.0.1.

I want to connect to my Web-host directly

My script is in VPS.


i used my details of web host but its damn slow on starting then its not connection properly when i join server i crashes. (Server crashes).

Is it really possible or my tries are useless?
Replace 127.0.0.1/ localhost with the mySQL server IP.
And make sure you enable remote access if you are using a cPanel.
Reply
#7

Quote:
Originally Posted by Jarnu
Посмотреть сообщение
How can i connect to MySQL database which is NOT "localhost".

like we normally connect MySQL to localhost which is 127.0.0.1.

I want to connect to my Web-host directly

My script is in VPS.


i used my details of web host but its damn slow on starting then its not connection properly when i join server i crashes. (Server crashes).

Is it really possible or my tries are useless?
just check your web host page and ****** what mysql addresses they have.
Reply
#8

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
You see before you reply. Thats not the thing i wanted. Anyway Solved Thank you guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)