Welcome Guest | Login

Can I use Mysql GUI on local machine to administer databases on hostingrails?

I use cocoamysql to do mysql administration on my local machine. Is it possible for me to also administer the databases on my hostingrails account using this local program?

2008-05-31 02:10 PM

Hi Eggman,

Yes, You can access your Hostingrails Mysql database using the cocoamysql. For remote database connection specify your global ip in the  "cPanel --> Remote Database Access Hosts". In the  cocoamysql dialog box you can specify the your mysql username, mysql password, Server IP and port 3306.



2008-05-31 05:08 PM

Hey Vinayan,

What if your vps does not have cPanel (like mine)?  Is there an easy way to enable remote mysql administration?  Also, how bad a security risk is opening port 3306?

Thanks

2008-06-02 03:05 PM

From the mysql prompt you can execute the following command.
------------
mysql> GRANT ALL ON <databasename>.* TO <user>@'<yourIP>'  IDENTIFIED BY 'PASSWORD';

Also 3306 is the default mysql port. You need to open the port if you want to access your database remotely.



2008-06-02 06:08 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!