i tried to install drupal 7 rc1 on localhost (windows,apache,php,mysql) but failed. i get this message "The database version 3.3.7undefined is less than the minimum required version 3.3.7."

i installed drupal 6 before without any problem.

Comments

lorinpda’s picture

Hi,
The message you are referring to is the minimum database engine type for "sqlite" not MySQL. Therefore make sure you select "MySQL" in the installation procedure. "sqlite" is completely different database engine.

Hint: Make sure MySQL is running. Drupal needs to test the connection and can only do that if your database engine (i.e. MySQL) is running during the Drupal install process.

sillyphilosophy’s picture

"SQLite
The type of database your Drupal data will be stored in. Your PHP configuration only supports a single database type, so it has been automatically selected."

how to change my php configuration? i m confused,my drupal 6 is using SQLite? My AppServ folder only has Apche2.2, MySql and php5.

sillyphilosophy’s picture

please help me....

socki’s picture

In Drupal 7, the PDO extension is required. Check that you php has PDO enabled, and that mysql is one of the available databases to use.

lepton7’s picture

I had the same problem. I used the phpinfo() function to know the path of php.ini: "Loaded Configuration File C:\Windows\php.ini", then I modified the php.ini file to enable: "extension=php_pdo_mysql.dll" and it works!

Mr.Akatsuki’s picture

thank you

hychanhan’s picture

Thank you. It is very helpful.

Regards,

elgandoz’s picture

Same here, but with D7 rc2, testing on remote Win IIS7 Server.
http://3ding.eu/php.php#module_PDO [phpinfo(); PDO seem installed.]
There are others D6 installations working on that domain.
What's the matter?

elgandoz’s picture

on D7 the php extension PDO MySQL (pdo_mysql) is required! enable it editing php.in or contact the hosting company

2020media’s picture

PDO is usually installed by default with PHP, but it does not give MySQL necessarily. So you might see PDO in thr output of a PHP Info page, but you need to check there is the MySQL section in there.

There's a screenshot here: http://www.2020media.com/drupal7-pdo

Ask the host to install PDO for MySQL (--with_pdo_mysql) if it's not there.

Rex
http://www.2020Media.com: UK Drupal Hosting

geekier’s picture

installing Drupal 7 required pdo_mysql for me

rebuilding php --with-pdo-mysql and restarting apache offered me the choice of MySQL

gman88’s picture

I just glanced at this post again - my problem was on Unix/Linux, not Windows. However, on either, it's a likely a problem with pdo_mysql not being loaded (particularly if Drupal 6 was working). Also, I am running PHP 5.2.6.

This is a portion of the Drupal message I saw:
"Your PHP configuration only supports a single database type, so it has been automatically selected...."

Anyway, I don't know if this would help anyone - but, it saved my butt. I compile everything (currently using Centos and Scientific Linux) and the following steps worked for me (see URL). Originally, I got the error noted above; after following these steps everything worked - I was given the choice to select a MySQL database. As noted, above, you need pdo_mysql and there are a significant number of steps required to get it built and loaded. You'll need to follow the steps, do a "make clean" in the php build directory, etc.

http://mycentosnotes.info/centos/php_mysql_add.htm

allisterbeharry’s picture

The version of SQLite bundled with you version of PHP is reporting 3.3.7undefined, which fails the test the Drupal 7 has for the minimum version of SQLite available since it is testing for 3.3.7. The 2 solutions are:

Get a newer version of PHP with a later version of the SQLite library
or
open up includes/database/sqlite/install.inc and change the return value of the minimumVersion function from '3.3.7' to '3.3.7undefined'

DooDoo’s picture

Thanks, allisterbeharry

I use last option and it work fine.

gaara_1203’s picture

Thank allisterbeharry so much. i fix it ok.

Lumend’s picture

3.3.7undefined is ok!

Lumend’s picture

I try

x2fact’s picture

I also had that problem. Is becouse Drupal 7 need PDO to work, just open the php.ini file (usualy in c:\windows) and add in the extension seccion "extension=php_pdo_mysql.dll".

tmem’s picture

My system is Red Hat 5. PHP version is 5.3.3. When Trying to install Drupal 7.10 I get the following:

The type of database your Drupal data will be stored in. Your PHP configuration only supports a single database type, so it has been automatically selected. (SQLite)

I want it to find MySQL which is installed and running. Can anyone help me? Thanks.

CMSDrupal’s picture

Hi,

I just installed Drupal 7 successfully. But I got this error message on main page. How do we fix this?
"Error messageNotice: Undefined offset: 0 in request_uri() (line 1621 of ...\drupal\includes\bootstrap.inc)."

Please help.

seozspecialist’s picture

check your local server running properly and check compatibality option for drupal in php.ini and httpd.conf

BMDan’s picture

This message is caused by the bug described in issue #1497060: Installer needs better error message when database is already configured. To fix it, delete the .ht.sqlite file in your files directory. Note that doing so will delete any data you had in that file, but presumably you didn't care about it (since you were trying to install over it, anyway).

--BMDan

Andreinadjt’s picture

Después de tener Drupal 7 instalado y hasta usarlo varias veces; cuando intento conectarme me dice lo siguiente: "¡Vaya! Google Chrome no ha podido establecer conexión con la página localhost.". Quisiera que me ayuden con ese inconveniente, o que me den indicaciones de cómo poder solucionarlo.

Gracias!!!

BMDan’s picture

Desafortunadamente, este no es el lugar correcto para encontrar una respuesta a esta pregunta. Es posible que desee visitar #drupal-es o contratar a la lista en https://drupal.org/drupal-services/all/all/all/Spain para obtener ayuda.

[English translation: Unfortunately, this is not the correct place to find an answer to this question. You may wish to visit #drupal-es (https://drupal.org/irc/channels) or hire the list at https://drupal.org/drupal-services/all/all/all/Spain for assistance.]

harrisonrce’s picture

Hola, me parece que tienes que editar el archivo .htacces, por las lineas 81 y 82 deben estar comentadas para que a esa direccion no le agregue ni el http ni el www