WordPress.org

Ready to get started?Download WordPress

Forums

where's my database? (database default location?) (3 posts)

  1. colombo79
    Member
    Posted 5 years ago #

    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?

  2. whooami
    Member
    Posted 5 years ago #

    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..

  3. colombo79
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic