Replies: 1 comment
-
Hi, All So both them tables are located in different databases, I've attached the config file, as I can see what I'm doing wrong. `<?php /** LudicrousDB configuration file /** This sets the default character set. Since WordPress 4.2, the suggested This sets the default column collation. For best results, investigate which This is useful for debugging. Queries are saved in $wpdb->queries. It is not The amount of time to wait before trying again to ping mysql server. This determines whether to use mysql_connect or mysql_pconnect. The effects This determines whether to use mysql connect or mysql connect has failed and to bail loading the rest of WordPress This is the number of mysql connections to keep open. Increase if you expect Enables checking TCP responsiveness by fsockopen prior to mysql_connect or The cache group that is used to store TCP responsiveness. This is the most basic way to add a server to LudicrousDB using only the This adds the same server again, only this time it is configured as a replica. // Add the third database for handling fjq_posts table // Custom callback for query routing function db_callback($query, $wpdb) { It seems to keep requesting the tables from the main database but it should be requesting it from the correct database. I think it must have to do with the callback, but not much info on how to correctly set it up. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi, I need help on implementing this plugin into Wocommece, I'm using siteground and I keep hitting the 1gb database limit.
I've downloaded the zip, place the files where it says to, filled in the configuration file with the additional databases I think???
I get the error of the woocommerce has encountered an error.
Do I have to add the original database to the config file or only the additional ones? Also are the usernames and passwords supported to be in comma?
Just need help keeping it simple, I'm not a programmer, so any help can we keep it simple lol!
Regards
Beta Was this translation helpful? Give feedback.
All reactions