Posts Tagged ‘MySQL’


Connecting to Another MySQL Database With WordPress

Posted on February 13th, 2014

MySQL and WordPress logos

A recent project required that I access data from a separate database, in a custom WordPress page template. The data also needed to be retrieved before the opening <html> tag. By opening another database connection here, WordPress threw a fit, and failed to load the page’s menus. After hours to troubleshooting and searching for answers on countless forums, I finally found a solution…

Read more of Connecting to Another MySQL Database With WordPress »