Bug #16219
closedCreating Admin user doesn't check for correct DB-Connection
0%
Description
Due to a server problem our DB-filesystem was mounted read only. Before sorting that out, I tried to create a new backend admin user via install tool.
Install tool reported creation of user xxx with password yyy was successfull. I had a look in the DB tables and
- no user was created
- no error message was shown in install tool
- no other warnings were shown
(issue imported from #M3635)
Updated by Martin Kutschker over 18 years ago
AFAIK, the installer doesn't check any of the SQL queries it performs (eg creating tables, etc).
Updated by Chris topher over 14 years ago
In current trunk there is an API to check if the DB is connected. See #0014120.
Updated by Soren Malling over 14 years ago
Just tested with current trunk (r. 8242).
I tried to create a admin user form the install tool with incorrect database credentials in my localconf.php file and got the following error message
-----
Your database connection failed
Please go to the 'Basic Configuration' section and correct this problem first.
------
I think this bug can be considered resolved?
Updated by Susanne Moog over 14 years ago
Søren, I think he has a valid connection and valid credentials but only read-access. So TYPO3 can connect successfully and as it does not seem to check for mysql errors after the query it reports success while the operation failed.
Updated by Florian Schaeffer almost 14 years ago
@Susanne: you're right, connecting was possible but as I wrote only in read-mode....
This is an ancient bug, maybe it will be covered by an Exception in future ?
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Closed
- Target version deleted (
0) - PHP Version deleted (
4)
Closed as duplicate of #14170