Skip to main content

Copy Prod DB to Dev

Comments

3 comments

  • 24x7server
    ] 1) most of the scripts assume you have the root password for mysql (i dont think i have that, HostGator shared account)?

    Try to use your cpanel user name and password in your script and test that for your work.
    0
  • cPanelMichael
    Hello :) The following document explains how to authenticate in MySQL with just the MySQL username and password: [url=http://dev.mysql.com/doc/refman/5.5/en/connecting-disconnecting.html]MySQL :: MySQL 5.5 Reference Manual :: 3.1 Connecting to and Disconnecting from the Server I'd go with "mysqldump" if you want something that's easy to use. Thank you.
    0
  • jrich523
    Thanks for the responses guys. I was able to get most of it working but im unable to set the DB permissions due to limitations by the provider. It looks like i'll have to work some web magic to get the permissions automated. Probably something similar to the DB Backup script i've seen floating around.
    0

Please sign in to leave a comment.