cgryniewicz
Offline
Posts: 17
|
 |
« on: October 26, 2008, 08:27:47 AM » |
|
Hey everyone, I'm trying to more websitebaker. Everything goes well until, I try and move the database. This is the error message I received in phpMyAdmin. Error
SQL query:
-- phpMyAdmin SQL Dump -- version 2.9.1.1 -- http://www.phpmyadmin.net -- -- Host: 10.6.166.162 -- Generation Time: Oct 26, 2008 at 12:19 AM -- Server version: 5.0.67 -- PHP Version: 4.4.4 -- -- Database: `webspinners` -- CREATE DATABASE `webspinners` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
MySQL said: Documentation #1044 - Access denied for user 'chrisgryniewicz'@'%' to database 'webspinners'
|
|
|
|
|
Logged
|
|
|
|
|
kweitzel
|
 |
« Reply #1 on: October 26, 2008, 08:50:58 AM » |
|
Your usercredentials in the config.php are not correct ... the errormessage is quite clear about that: #1044 - Access denied for user 'chrisgryniewicz'@'%' to database 'webspinners' cheers Klaus
|
|
|
|
|
Logged
|
WebsiteBaker Org e.V. - for WebsiteBaker
|
|
|
cgryniewicz
Offline
Posts: 17
|
 |
« Reply #2 on: October 26, 2008, 02:32:56 PM » |
|
How do I correct this?
|
|
|
|
|
Logged
|
|
|
|
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2294
|
 |
« Reply #3 on: October 26, 2008, 06:39:04 PM » |
|
If you move from a local server to a server at a hosting company, you will probably have to use a database provided by the hosting company.
Normally you will receive a database name and a login for that database from your host.
Export your database without the CREATE TABLE option. (default export options always work for me). When logged in in your new phpadmin (host) the tables will import in the current database.
The new database and login data should then be changed in your config.php on your new server.
Good luck
Ruud
|
|
|
|
|
Logged
|
Professional WebsiteBaker Solutions
|
|
|
cgryniewicz
Offline
Posts: 17
|
 |
« Reply #4 on: October 28, 2008, 05:29:14 AM » |
|
Hey, Now I'm getting this error message. Error SQL query:
CREATE DATABASE `webspinners` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
MySQL said:
#1044 - Access denied for user 'chrisgryniewicz'@'%' to database 'webspinners'
|
|
|
|
|
Logged
|
|
|
|
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2294
|
 |
« Reply #5 on: October 28, 2008, 09:50:57 AM » |
|
That is the same error as in your first post.
Your host will not allow you to create a database. You have (probably)been provided with one, that is the one you should use.
You are exporting the database wrongly. I assume you start the export from the main phpMyAdmin page. When you select a database to export, phpMyAdmin will add the CREATE DATABASE command.
The correct way is to select the database first (left frame), and then click the export tab on the top of the page that will be loaded. Export using default settings. (you can "test export" by not clicking the zip option). When you look at the exported data it should NOT start with the CREATE DATABASE in the first couple of lines.
Import the same way. Select the database you have received from your host and import using the tab on the top of the page.
Ruud
|
|
|
|
|
Logged
|
Professional WebsiteBaker Solutions
|
|
|
cgryniewicz
Offline
Posts: 17
|
 |
« Reply #6 on: October 28, 2008, 06:38:25 PM » |
|
I apologize for my ignorance. But I don't see this option. Here is a screen shot.
Thanks,
cgryniewicz
|
|
|
|
|
Logged
|
|
|
|
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2294
|
 |
« Reply #7 on: October 28, 2008, 10:35:00 PM » |
|
Just look a few centimeters below..
Ruud
|
|
|
|
|
Logged
|
Professional WebsiteBaker Solutions
|
|
|
cgryniewicz
Offline
Posts: 17
|
 |
« Reply #8 on: October 30, 2008, 04:44:45 AM » |
|
Still not working
|
|
|
|
|
Logged
|
|
|
|
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2294
|
 |
« Reply #9 on: October 30, 2008, 09:46:33 AM » |
|
What you need to accomplish is that there is no CREATE DATABASE line in your exported data.
Ruud
|
|
|
|
|
Logged
|
Professional WebsiteBaker Solutions
|
|
|
cgryniewicz
Offline
Posts: 17
|
 |
« Reply #10 on: October 30, 2008, 04:16:29 PM » |
|
Ok, what options do I select then? Where do I mark that option? or Can I remove the code manually?
|
|
|
|
|
Logged
|
|
|
|
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2294
|
 |
« Reply #11 on: October 30, 2008, 04:18:57 PM » |
|
The correct way is to select the database first (left frame), and then click the export tab on the top of the page that will be loaded. Export using default settings. (you can "test export" by not clicking the zip option). When you look at the exported data it should NOT start with the CREATE DATABASE in the first couple of lines.
That should do it. If it doesn't I'm out of options. My exports work like described here. Ruud
|
|
|
|
« Last Edit: October 30, 2008, 04:20:34 PM by Ruud »
|
Logged
|
Professional WebsiteBaker Solutions
|
|
|
|