Jump to content

I Cannot Connect My Localhost To Remote Mysql, Help..


firdausb

Recommended Posts

Hi, I was trying to connect my localhost webpage into an online MySql Database. So I choose helio as the host which is have the remote Database feature.

 

But, suddenly I Can't connected into the Database that I created before.

I've try to make an Sqli Connect Query like this

$conn2 = mysqli_connect('RemoteHost', 'DBUsername', 'DBPassword', 'DatabaseName');

But the result is

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'firdausb_root'@'202.67.39.30' (using password: YES) in C:\xampp\htdocs\sby\konfig.php on line 3

Can Someone Help me?? Please

Link to comment
Share on other sites

Did you enable remote MySQL in cPanel? If so, is the IP address of the remote host still correct (a lot of people have dynamic IPs, so if it changes you'll need to enter the new IP).

 

Moved to customer service.

thank you for your response

 

First, Ill make it detail.

 

I want to connect my MySQL in Localhost into the Remote MySQL on the Internet using thetered Mobile Network on my Laptop.

So I guess it will have Dynamic IP, can you help me?

 

FYI, I also already trying input my Dynamic IP but it still cant connected.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...