Zen Follower
- Join Date:
- Mar 2013
- Location:
- Sydney, Australia
- Posts:
- 140
- Plugin Contributions:
- 0
Error 1044 when moving database to new server
I am moving a site to a new server.
My old server had a prefix of kinectwe_ and the new server has a prefix of cashexch_ . Also my sql backup file (from old server) is called kinectwe_ingleburncashexchange.sql .
I am following these instructions https://www.zen-cart.com/content.php?142-i-want-to-move-my-zen-cart-installation-to-another-host-or-a-different-server
I have followed all steps ok, however when I get to step 5D (import into database) I encounter a 1044 error:
-- Database: kinectwe_ingleburncashexchange
CREATE DATABASE IF NOT EXISTS kinectwe_ingleburncashexchange DEFAULT CHARACTER SET latin1 COLLATE latin1_general_ci;
MySQL said: Documentation
#1044 - Access denied for user 'cashexch'@'localhost' to database 'kinectwe_ingleburncashexchange'
In step 2a it says: IMPORTANT: when asked about the database-table-prefix during Database-Setup, use the same prefix that your old store uses.
I have this in my includes/configure.php and admin/includes/configure.php. Did I do that correctly?
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'kinectwe');
define('DB_CHARSET', 'utf8');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'cashexch_ice');
define('DB_SERVER_PASSWORD', 'XXXXX');
define('DB_DATABASE', 'cashexch_ingleburncashexchange');