Jump to content

Could not connect to MySQL


teepwale

Recommended Posts

i upload my joomla site to server but when i open my website i got this error "Database Error: Unable to connect to the database:Could not connect to MySQL"

this is what i've done.

- upload whole joomla from my localhost to public_html via ftp

- create new database,user and add user to database

- modify configuration.php (change db name,password and some other information to match heliohost) and upload it back

 

 

 

var $ftp_host = '127.0.0.1';

var $ftp_port = '21';

var $ftp_user = ' teepwale@pimmy.heliohost.org';

var $ftp_pass = '*******';

 

var $dbtype = 'mysql';

var $host = 'localhost';

var $user = 'root';

var $db = 'teepwale_pimmy';

var $dbprefix = 'jos_';

 

 

 

 

var $password = '*******';

 

- export my local phpmyadmin and import it via phpmyadmin in cpanel

 

my site is http://pimmy.heliohost.org

 

could you please check it for me;thanks

 

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...