Thank you mc12345678 for replying.
Sorry for messed up writing. A week ago I backed up the database of an existing 1.5.4 store, erased zc, installed it back with automatic install, and restored the former db onto the new installed store through phpmyadmin. All done on the same server. So there's no old website, as this process was done repeatedly without problems, like 5 months ago I did the same and had no problem if I remember well. Then this time got the following error. The error shown by phpmyadmin is:
SQL query:
--
-- Database: `sainaasaguud_zenc558`
--
CREATE DATABASE IF NOT EXISTS `sainaasaguud_zenc558` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
MySQL said: Documentation
#1044 - Access denied for user 'sainaasaguud'@'localhost' to database 'sainaasaguud_zenc558'
That's it for this install.
***********************************
Then onto another exactly the same fresh test install in different directory www.mongolianshop.com/testdb, I restored the same backedup db from which the following was deleted, by Notepad:
/*!40101 SET NAMES utf8 */;
--
-- Database: `sainaasaguud_zenc558`
--
CREATE DATABASE IF NOT EXISTS `sainaasaguud_zenc558` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `sainaasaguud_zenc558`;
Then my phpmyadmin screen showed this: Import has been successfully finished, 684 queries executed. (sainaasaguud_zenc561.sql)
No error message.
Looking at the db tables, the customers and products are populated.
On the outside, the website
http://mongolianshop.com/testdb/ does not show products.
Its includes/configure shows this:
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zenkg_');
define('DB_CHARSET', 'utf8');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'sainaasaguud_zenc564');
define('DB_SERVER_PASSWORD', 'XXXXXXXXXXXXXXXX');
define('DB_DATABASE', 'sainaasaguud_zenc564');
Prefix wise what is before underline is the same for the backedup db and the newly automatically created db for both installs.
-sainaasaguud_zenc564 is an automatically created db together with the new install.
-sainaasaguud_zenc561.sql is the backed up db.
Or zenkg_ is in conflict with sainaasaguud_ ?
What did I mess up?
Thank you.