Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6864535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:55:25+00:00 2026-05-27T02:55:25+00:00

I have a Host enayam.in (linux) i have mysql db in this Host. Actually

  • 0

I have a Host enayam.in (linux) i have mysql db in this Host.

Actually i have to access it on my Localhost(With WAMP or MAMP)

if the Database in localhost(WAMP or MAMP) then i can connect my DB like this

mysql_connect('localhost', 'root', 'root');
mysql_select_db('testDB');

now i try to access my enayam.in DB in my localhost(WAMP or MAMP)

mysql_connect('enayam.in', 'enayamin_dbuser', 'enayamin_dbpassword');
mysql_select_db('enayamin_testDB');

but its giving error, i also try with my server IP as host (75.126.136.20)

mysql_connect('75.126.136.20', 'enayamin_dbuser', 'enayamin_dbpassword');
mysql_select_db('enayamin_testDB');

eventhough its giving error. please help me to solve this issue.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:55:26+00:00Added an answer on May 27, 2026 at 2:55 am

    cPanel > Remote MySQL > Add your IP address. Use % as a wildcard ex. 64.65.54.%

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a php host, and a mysql database. from that i wish to
I have a host with php+mysql and i need to run a script here
Here's the scenario: I'd like to have a host class that can have a
As I'm coding for both Windows and Linux, I have a whole host of
Having some issues running my code local. I have host file setup like this:
A single Biztalk Server can have multiple Host processes. Is it possible to create
I have the host computer with Ethernet adapter configured by this way: IP address
I have a host and cPanel access but only one main user and password
I have a Host Javascript Application, which not use AMD, BackboneJS or RequireJS but
I have a blog that's hosted on Tumblr. I have a separate host where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.