0

Following a hack; on a fresh install when after importing the database with phpmyadmin (dropping all tables inside database and import sql file after) wordpress does not seem to load the new database files but asks me to setup again and recreate an user and it is not loading the data at all.

I have done this method in the past but some time ago and wonder what I might be missing.

The database and connection details are correct because I can see wordpress recreates wp_users with the new user bu my users are stored in tm_users

I did not write the theme code and I am not a wordpress expert but I noticed all of the theme tables have a tm_ prefix instead of wp__. Maybe there is a clue here ?

1 Answer 1

0

In order for WP to pick up on the custom table prefix you need to set it in wp-config.php.

Locate this section:

/** * WordPress database table prefix. * * You can have multiple installations in one database if you give each * a unique prefix. Only numbers, letters, and underscores please! */ $table_prefix = 'wp_'; 

and change the wp_ to tm_.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.