wp_options is GB in size

After executing these: [root@shop ~]# mysqlcheck -p -c wordpress hihgv_options wordpress.hihgv_options OK [root@shop ~]# mysqlcheck -p -o wordpress hihgv_options wordpress.hihgv_options note : Table does not support optimize, doing recreate + analyze instead status : OK [root@shop ~]# mysqlcheck -p -a wordpress hihgv_options wordpress.hihgv_options OK Size is down to 1.6MB, not sure if it was optimize … Read more

Moving an entire wordpress site from one domain to a new domain and database

First add define(‘WP_SITEURL’, ‘http://example.com’); define(‘WP_HOME’, ‘http://example.com’); To your wp-config.php file (obviously change example.com to your domain) then login and once you see the admin panel navigate to http://yoursite/wp-admin/options.php there you can change home and siteurl to your new domain and save. You will also need to change the links for images and other media in … Read more

Migrate a Non WordPress database to wordpress [closed]

Unfortunately it’s not really and easy process. It’s not about just having a table. The tables in WordPress will have different names, fields, and relationships than the cms you’re pulling your table from. That’s just for the content. Then to mirror appearance will definitely be starting over all the same. It would likely be a … Read more

How do I add indexes to WordPress Database?

The WordPress database is already indexed. See this codex article for a detailed list of indexes per table: http://codex.wordpress.org/Database_Description And even if it weren’t, you’d need to know what queries are being run in order to effectively add indexes. Meaning, there would be no quick fix–you’d have to learn how indexing works, figure out what … Read more

Connecting to external oracle database

You can’t use WPDB to connect to databases that aren’t MySQL/MariaDB based. There are no WordPress APIs or WP based solutions that will do this. Instead you will need to use a general PHP solution inside your plugin, and should look at general PHP resources and communities, not WP ones. I can also guarantee, that … Read more