I'm having an issue with 'sites_database_add'. I can get it to add a DB without any issue. I can see it and connect to it via phpMyAdmin. But, when I try to do a mysql_connect call, I get this error:
Code:
PHP Warning: mysql_connect(): Access denied for user 'c7testAPI'@'localhost' (using password: YES)
These are the parameters I'm passing:
Code:
$params = array(
'server_id' => 1,
'type' => 'mysql',
'database_name' => 'c7testAPI',
'database_user' => 'c7testAPI',
'database_password' => 'test',
'database_charset' => 'utf8',
'remote_access' => 'n', // n disabled - y enabled
'active' => 'y', // n disabled - y enabled
'remote_ips' => ''
);
Did I miss something?
Recent comments
1 day 3 hours ago
1 day 8 hours ago
1 day 13 hours ago
1 day 14 hours ago
2 days 5 hours ago
2 days 5 hours ago
2 days 10 hours ago
2 days 16 hours ago
2 days 17 hours ago
2 days 18 hours ago