Till, more challenges:
Much as I pass all these variables as seen below:
$params = array(
'server_id' => $_SESSION['db_server_id'],
'type' => "$type",
'database_name' => "$newdb_name",
'database_user' => "$newdb_user",
'database_password' => "$database_password",
'database_charset' => "$database_charset",
'remote_access' => "$remote_access",
'remote_ips' => "$remote_ips",
'active' => "$active");
ONLY the database is created, but not the database user. I don't see any commands for creating database users, I just thought they would be created in the above but aint working ...Please advice what am doing wrong or what I missed out.
Thanks, Joseph
|