newb Q

Discussion in 'MySQL' started by Guru, Apr 18, 2006.

  1. #1
    My site. http://www.yoimagehost.com
    I understand I havent uploaded database.
    I can switch nameservers back to get database I just need to know how to zip it or whatever and then upload it in new server.

    Newb question, please dont flame me dont work with databases a lot and host is not on right now.
     
    Guru, Apr 18, 2006 IP
  2. Trusttec

    Trusttec Peon

    Messages:
    147
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey if you have cpanel, log in and go to back up click on the database you want to back up and then go to your new host and go back into cpanel click back up and upload it, you will still have to add the sql user but that wont be to hard!
     
    Trusttec, Apr 18, 2006 IP
    Guru likes this.
  3. sacx13

    sacx13 Active Member

    Messages:
    438
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #3
    If you have access on server directly (console or ssh remote) just run:
    mysqldump -u username -p database > dump.sql

    copy the file on your new server and :

    mysql -u username -p database < dump.sql

    Regards
    Adrian
     
    sacx13, Apr 19, 2006 IP
  4. Guru

    Guru Peon

    Messages:
    1,222
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Guru, Apr 19, 2006 IP
  5. MakZF

    MakZF Well-Known Member

    Messages:
    390
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    140
    #5
    Just go into phpMyadmin and upload the database via the "SQL" tab on it. This is recommended for small-size DB's only.
     
    MakZF, Apr 20, 2006 IP
  6. Guru

    Guru Peon

    Messages:
    1,222
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #6
    if you wanted me to go to the query window I did and i clicked import files and i click the file that is the database and then mysql says no database selected
    I finally just clicked te creat a user and it added the connection string crap but the user is yoimage_

    my site says :"Couldn't connect to database server: Access denied for user: 'yoimage_images@localhost' (Using password: YES)"
     
    Guru, Apr 20, 2006 IP
  7. Trusttec

    Trusttec Peon

    Messages:
    147
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    In cpanel have you got to the MySQL Databases menu and gave the database and user permissions? You can do that buy selecting them in the drop down list and press add user to db, this will give the user permissions and should take your error away. If it doesnt do you have a user created?
     
    Trusttec, Apr 20, 2006 IP
  8. Guru

    Guru Peon

    Messages:
    1,222
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Is there a way to change what username the database will accept cause right now it looking for user "yoimage_images" and every tiem i add that as a user it changes it to "yoimage_yoimagei" so i want it to look for that user instead since when i type in "yoimage_images" it changes to that.
     
    Guru, Apr 20, 2006 IP
  9. Trusttec

    Trusttec Peon

    Messages:
    147
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    It changes to yoimage_yoimagei or is it just yoimage_yoimage if it wont accept yoimage you can always change it in your config.php file to reflect the name you are using.
     
    Trusttec, Apr 20, 2006 IP
  10. Guru

    Guru Peon

    Messages:
    1,222
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #10
    It accessed the database username but another probem, go to my site theres another kind of error that I dont understand at all. Thanks for helping so far I dont know where that crappy error is randomly coming from
     
    Guru, Apr 20, 2006 IP
  11. Trusttec

    Trusttec Peon

    Messages:
    147
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #11
    does the script you are installing come with a readme? Did all of the database get backed up? Are you missing anything check carefully!
     
    Trusttec, Apr 20, 2006 IP
  12. Guru

    Guru Peon

    Messages:
    1,222
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #12
    fuck it ill just park the damn domain and sell it as a traffic domain at DNF
     
    Guru, Apr 21, 2006 IP
  13. Trusttec

    Trusttec Peon

    Messages:
    147
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #13
    If you want to get this working still pm me your msn or aim or gtalk so I can guide you through step by step!
     
    Trusttec, Apr 24, 2006 IP