Bug #46936
closedDatabase connection problem / installer
0%
Description
Installer stops at step 2 where database connection details are enterd. Form filled with proper data will return:
There is no connection to the database!
(Username: , Host: , Using Password: YES)
Go to Step 1 and enter a valid username and password!
Take a look that username or host arent show here (but they are saved in LocalConfiguration.php).
Than if i refresh page i will have:
There is no connection to the database!
(Username: my_database, Host: localhost, Using Password: YES)
Go to Step 1 and enter a valid username and password!
So the same message with database name and host filled now.
Theres more. If i manually type all required data into LocalConfiguration.php i am able to run installer but only shalf of tables are inported to DB. If i go to Comapare DB in install tool i see several tablee missing but they cant be imported because of errors (syntax? like something wrong near ) ENGINE InnoDB; etc.)
Files
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
Can you post, which tables are missing?
Did you use latest master?
Updated by Marcin Sągol over 11 years ago
- File typo3_missing_tables typo3_missing_tables added
Step by step, as i said installer won't accept my database details in the first step:
There is no connection to the database!
(Username: my_database, Host: localhost, Using Password: YES)
Go to Step 1 and enter a valid username and password!
To make it work i have to enter databsase name into LocalConfiguration.php so i assume that in the first step also database name check is done(?), but thers no field to enter it (it is second step).
Than, after i manualy enter db name into LocalConfiguration.php i can finish installer steps.
Now when i go to install tool and do Database compare i have tables listed in attached files to be created but when i try to create them errors show up (also included in second part of attached file).
I have 2 other projects running on the same server and there was no such problems when installing 6.1 alpha.
Updated by Alexander Opitz over 11 years ago
Which MySQL version are you using? Does it have InnoDB Support?
Updated by Marcin Sągol over 11 years ago
mysql> show engines;
part InnoDB related:
| InnoDB | DEFAULT | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
mysql> select version();
5.5.30-1~dotdeb.0-log |
Updated by Alexander Opitz over 11 years ago
Is it possible that you have the DBAL Extension active in your LocalConfiguration.php?
Updated by Marcin Sągol over 11 years ago
It is indeed listed in 'EXT' => array('extListArray'=> ...));
array
Updated by Alexander Opitz over 11 years ago
Remove the file and start from beginning of the installation with latest master.
Updated by Marcin Sągol over 11 years ago
Ok looks like it works now. Just a little notice: when i selected empty db and pressed button to move to next step this error showed: "There is no access to Database". I moved back and click again to go next step - this time it worked.
Updated by Alexander Opitz over 11 years ago
Yes, thats another problem I didn't find yet.
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to Closed
Closing as it worked, discussed in IRC.