MYSQL Help - Post ID 122927

User 133269 Photo


Registered User
2,900 posts

you will have to make a new database on the new site
make a new user
add the user to the database <--- the step everyone forgets
THEN go to the new database and import the sql export from the old one
Have fun
~ Fe Pixie ~
User 597929 Photo


Registered User
1,332 posts

Fe Pixie wrote:
add the user to the database <--- the step everyone forgets


http://www.spinland.biz/smileys/eusa_doh.gif
"You can't be a real country unless you have a beer and an airline - it helps if you have some kind of a football team, or some nuclear weapons, but at the very least you need a beer." -- Frank Zappa

Visit Spinland Studios: http://www.spinland.biz
User 133269 Photo


Registered User
2,900 posts

hehe - you've done that too spinny? People do that all the time - You'd think i'd be over forgetting that bit by now - and usually i remember - but i did spend 10 min wondering why my new script didnt connect the other day in a fit of forgetfulness :lol:
Have fun
~ Fe Pixie ~
User 147665 Photo


Ambassador
712 posts

doesn't an import make the database when the sql dump file has this line in it... :/

CREATE DATABASE `buckeyel_oceanthree` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;


I have forgotten to configure users and/or privileges myself,, duuuuu,, why won't this work. :rolleyes:
The server geeks made it so easy and yet I can't make it work. :rolleyes:

User 133269 Photo


Registered User
2,900 posts

oh - proabably it does dave - i usually go to one database - export the sql - go make a new database and user stuff - then import the sql - thats exactly the way i do a transfer between hosts too...

also the tablename usually has your username in it - the `buckeyel` bit of `buckeyel_oceanthree`
so on a new host that might need to be `newhost_oceanthree` to make the appropriate oceanthree database for your ap to find
Have fun
~ Fe Pixie ~
User 147665 Photo


Ambassador
712 posts

ahhh, yes.. It is all coming back to me. It's been a while since I transferred hosts or moved a database. I recall editing those declaration lines and/or removing them to do an import.


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.