Wordpress Question - MySQL

Discussion in 'WordPress' started by !Unreal, Aug 12, 2008.

  1. #1
    I have a huge blog of tutorials. But how do I export the database in order for me to sell it and other people import it into their blogs?
     
    !Unreal, Aug 12, 2008 IP
  2. CieNeN.Com

    CieNeN.Com Active Member

    Messages:
    170
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    63
    #2
    Just backup your MySQL database from PHPMyAdmin. Or backup directly from your cPanel. Both MySQL and Home Directory.
     
    CieNeN.Com, Aug 12, 2008 IP
  3. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #3
    But wouldn't all the tables be set to my site? They would have to go through everything changing all the settings. Or is that the only way to do it?
     
    !Unreal, Aug 12, 2008 IP
  4. CieNeN.Com

    CieNeN.Com Active Member

    Messages:
    170
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    63
    #4
    Look, when you get a backup from your database everything will be there. Posts, Comments, Links, and everything. All other things regarding theme or pictures are in your home directory files. So you with both ( MySQL and Home Directory) you can move your website everywhere without any problem. I did it several times.
     
    CieNeN.Com, Aug 12, 2008 IP
  5. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #5
    ok, thanks for your help.
     
    !Unreal, Aug 12, 2008 IP
  6. lukemeister

    lukemeister Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you're exporting your content to give to others to use on their sites, there a couple more things to consider..

    If you export from PHPMyAdmin, you'll basically end up with a text file that includes sql statements to create the tables and input the data. You might want to look at other exporting options to rather export data from tables as a csv file, which might be more workable for some webmasters.

    Also, make sure you don't export or give away any data from your users tables or any other tables that might contain sensitive data that is important to your site only... you don't want those that obtain your content from you to also obtain your site login information, for example :)
     
    lukemeister, Aug 12, 2008 IP
  7. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #7
    That is what I was worried about in exporting the whole database.
     
    !Unreal, Aug 13, 2008 IP
  8. iloveRP.com

    iloveRP.com Peon

    Messages:
    457
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Is it also advisable to export MySQL from cPanel's "Backup" Tool? I haven't tried saving file from phpMyAdmin.
     
    iloveRP.com, Aug 13, 2008 IP
  9. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #9
    cPanel backs up all of the databases though. I prefer to use phpMyAdmin so I can select what to export.
     
    !Unreal, Aug 13, 2008 IP