Check if a database is well installed

I tried to install wordpress under eclipse and xampp under ubuntu. I created the database (user: root, password: empty) by a sql command create database wordpress;, that is it.

The wordpress seems to work, because I can run and see that with locallost under a browser.

Then, I tried to install another wordpress projet (which works) that my colleague had already customised. He sent me all the wordpress files and a database file asyc.sql. I created another projet under eclipse and imported the database by the following command line:

/opt/lampp/bin/mysql -u wpuser -p wpuser asyc asyc.sql

And here is the result:

The database asyc does not seem to be well installed, though wp-config.php is well set in my opinion:

Does anyone know what is wrong?

Topic eclipse xampp phpmyadmin mysql database Wordpress

Category Web


Some things to check:

  1. Have you update the site URL in the wp_options table?
  2. Once you log-in to wp-admin change the permalink structure and click save - this makes the system refresh all the links.

I personally always use MySQL Workbench to Export and Import data for MySQL databases as it makes life much easier.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.