WordPress.org

Support

Support » How-To and Troubleshooting » where’s my database? (database default location?)

where’s my database? (database default location?)

  • I’ve just imported a backup of my database via phpMyAdmin wp plugin, but the database is older than I thought so ended up losing some posts instead of recovering the ones I wanted.

    It happens this database was a backup made with wp-automatic-update more than a month ago. I have copied the folder containing wordpress (httpdocs) from the server before importing this database, but have no other backups.

    Is there any way I find a more recent database in this folder or in my server?

Viewing 2 replies - 1 through 2 (of 2 total)
  • whooami

    @whooami

    Member

    Is there any way I find a more recent database in this folder or in my server?

    (emphasis mine)

    No.

    MySQL is an application that hosts run outside of your directory access. If you want to access your database, you do so using whatever method(s) your host allows — phpmyadmin, shell access, etc.. In any case, its not something you locate, manipulate, change, export, via the files you have on your web host.

    you do use the phrase “my server”.. if thats the case, and the site was hosted on a box you have root on, you just use the same tools to access your db that I already mentioned .. phpmyadmin, mysqladmin (command line). etc..

    Thanks. By “my server” I really didn’t mean literally “mine” but the one I have an account in. So that means the only db backup I have is the one made more than a month ago by wp-auto-update plugin… sweet.

    Should have noticed that little “export” button in the phpMyAdmin plugin before hitting the “import” one.

    I’ll have to rely on “my” server’s automatic backups now, I’ve already contacted the support team… hope it works..

    Again, many thanks for the clarification.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘where’s my database? (database default location?)’ is closed to new replies.