teepwale Posted September 23, 2010 Posted September 23, 2010 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 Quote
rvt Posted September 23, 2010 Posted September 23, 2010 Surely your username is not "root" as it has to follow the "accountName_DBUsername" format. I imagine that might be where your problem lies. Quote
teepwale Posted September 23, 2010 Author Posted September 23, 2010 Oh yes. what a mistake. thank you very much. maybe i work for too long night. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.