ok when installing drupal 6.0 (and i had it with the beta's to )
i have a prob with the db setup there

the installment is only giving me two options
it not shows the mysql

i need the install.mysql
now i see it in the file etc. but it not shows up as a choice in the installment

this is in my ( install inc file = ../includes/install )

/**
* Detect all databases supported by Drupal that are compiled into the current
* PHP installation.
*
* @return
* An array of database types compiled into PHP.
*/
function drupal_detect_database_types() {
$databases = array();

foreach (array('mysql', 'mysqli', 'pgsql') as $type) {
if (file_exists('./includes/install.'. $type .'.inc')) {
include_once './includes/install.'. $type .'.inc';
$function = $type .'_is_available';
if ($function()) {
$databases[$type] = $type;
}
}
}

return $databases;
}

/**

i don't know why it does no offer me the mysql option and if i use the mysqli option
i get a bunch off errors

how can i get the right option up there? why does it not detect it ?

as long as it does not i cant get stuff up and running propperly

hope some one knows the answer

Comments

yelvington’s picture

Create a file containing one line of PHP: phpinfo(); and view that page in your web browser so you can check to see what database options are available in your webhost's PHP configuration.

The code you cited loads any and all database drivers supported by Drupal and asks each one of them to run a check. If the check succeeds, that database type is added to the array of possibilities. So it sounds like your hosting configuration is failing the mysql check.

Kit_Hally’s picture

i still have to contact my host but as far as i can tell from doing what you said
mysql is enabled

wicked thing is that the mysql option shows up in previous versions i just installed 5.7 again to make sure and it does give me 3 options there the mysqli the mysql and the pgsql
the only versions that not give me the mysql option are the 6.0 and the beta's
so in the other versions mysql is detected just not in the 6.0 and beta's
beats me why
like i said i will contact my host to ask if they have a clue
but really thanks for your tip that one gives a good info on things !