Mysql Database Connection to Cpanel from Local PC

How to create a cpanel mysql database connection from a another location

  1. Log into cpanel
  2. Find “MySql Management” or “Remote Database Access”
  3. Add your local ip address (Firewall allow to connect)vishwa software solutions

$dbHost = ‘Your domain name’ (ex:;
$dbUser = ‘usernameroot’;
$dbPass = ‘psw’;
$dbName = ‘dbname’;

Done now you can Connect to cpanel database using your local Computer

8 thoughts on “Mysql Database Connection to Cpanel from Local PC”

  1. whoah this blog is magnificent i love studying your posts.

    Keep up the great work! You already know, lots of people are hunting around for this information, you
    can aid them greatly.

  2. This is very interesting, You are a very skilled blogger.
    I have joined your rss feed and look forward to seeking more of your wonderful post.
    Also, I’ve shared your site in my social networks!

  3. Greate post. Keep posting such kind of information on your site.
    Im really impressed by your site.
    Hello there, You’ve done a fantastic job. I’ll certainly digg it and in my opinion suggest to
    my friends. I’m confident they will be benefited from this web site.

Leave a Comment

Your email address will not be published. Required fields are marked *