Database error in Hostgator

Host Gator should be the same as most shared hosting providers.

  1. Open cPanel and scroll down to Databases.
  2. Select “phpMyAdmin”.
  3. Document all your MySQL database names, server/port (probably localhost:3306)
  4. Return to cPanel and open “MySQL Databases”.
  5. Scroll down to “MySQL Users” and create a new user/password then add it to the Dolibarr database.
  6. Back in cPanel, File Manager and review your settings in /dolibarr/htdocs/conf/conf.php

If everything works now, remove the old username.