function mysql_is_available
6.x install.mysql.inc | mysql_is_available() |
Check if MySQL is available.
Return value
TRUE/FALSE
1 call to mysql_is_available()
- drupal_test_mysql in drupal-6.x/
includes/ install.mysql.inc - Check if we can connect to MySQL.
File
- drupal-6.x/
includes/ install.mysql.inc, line 11
Code
function mysql_is_available() {
return function_exists('mysql_connect');
}