I have a ZendFW application and WPMU installed. Admins at Zend app has an interface where they can create a new MU site.
I included wp-load.php
and then called wpmu_create_blog
and so on...
Once I updated the WP to 3.9 I got error establishing database connection.
This test code works OK with 3.8 but gives db error when tried WP 3.9.
blog38 is WP 3.8
<?php
include "../blog38/wp-load.php";
global $wpdb;
echo "<pre>";
var_dump($wpdb->tables());
?>
blog39 is WP 3.9
<?php
include "../blog39/wp-load.php";
global $wpdb;
echo "<pre>";
var_dump($wpdb->tables());
?>
Does anyone know what the problem is? How to solve this connection error?