Sign in to follow this  
deeve007

Remote MySQL access?

Recommended Posts

I'm trying to find out how to allow a developer have access to the DB of one of my sites? I don't want them to access it via the Cpanel for obvious reasons.

How do I enable this, it's not clear from looking at the Cpanel interface?

Thanks.

Share this post


Link to post
Share on other sites
I'm trying to find out how to allow a developer have access to the DB of one of my sites? I don't want them to access it via the Cpanel for obvious reasons.

How do I enable this, it's not clear from looking at the Cpanel interface?

Thanks.

Within cPanel there's an option "Remote MySQL" where you can allow remote hosts access to the MySQL server.

Hope that helps :)

Share this post


Link to post
Share on other sites

If you are granting remote mysql it would be the persons IP. However this sounds more like you want them to have phpmyadmin but not cpanel. The only solution to that is to upload phpmyadmin to a folder and set it up to use the mysql database the developer should have access to.

Share this post


Link to post
Share on other sites
So how does that work? Do I need to find out my developer's IP address and add that?

And then what do I do? How do you actually reach the database from externally (ie. not via Cpanel)?

Ah, Tony is correct - if he wants to utilize PHPMyAdmin you'll need to upload it separately.

On a side note: yes technically you would need to know the developers IP, but you could also use a wildcard (%) to allow anyone to connect remotely (generally not a good practice).

Share this post


Link to post
Share on other sites

I don't think I need a new thread so I will ask here----

I want to use my editor to connect remotely to the database on your server pluto-- while setting up the wizard it asks for the host,port[3306] user name and password and gives examples like mysql.mydomain.com for the host in the editor help file--

Unless it is the port that is wrong[it was filled in by default 3306] localhost does not work [that would be my wamp anyway]...what is the location or whatever it is...I have added my ip to remote access,but i want to access the db from inside the editor--

Thanks

Share this post


Link to post
Share on other sites
I don't think I need a new thread so I will ask here----

I want to use my editor to connect remotely to the database on your server pluto-- while setting up the wizard it asks for the host,port[3306] user name and password and gives examples like mysql.mydomain.com for the host in the editor help file--

Unless it is the port that is wrong[it was filled in by default 3306] localhost does not work [that would be my wamp anyway]...what is the location or whatever it is...I have added my ip to remote access,but i want to access the db from inside the editor--

Thanks

If I understand what you're saying try to put "pluto.hawkhost.com" under the remote server.

Share this post


Link to post
Share on other sites

It might be a better idea to use your domain to connect in case the server you're on ever switches or you switch providers or anything like that. I'd hope that's never the case but always a good idea to have it set to something you'll never change.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this