Bug #16219
closed
Creating Admin user doesn't check for correct DB-Connection
Added by Florian Schaeffer over 18 years ago.
Updated over 11 years ago.
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)
AFAIK, the installer doesn't check any of the SQL queries it performs (eg creating tables, etc).
In current trunk there is an API to check if the DB is connected. See #0014120.
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?
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.
@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 ?
- Status changed from New to Closed
- Target version deleted (
0)
- PHP Version deleted (
4)
Also available in: Atom
PDF