Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2006-06-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #17380: Extension Manager does not recognize and report errors when executing sql queriesClosed2007-07-22

Actions
Related to TYPO3 Core - Feature #22463: Add a method to check if database is connectedClosedDmitry Dulepov2010-04-15

Actions
Related to TYPO3 Core - Bug #14170: No check of mysql-rightsClosed2004-05-17

Actions
Related to TYPO3 Core - Bug #18871: installer doesn't check DB problems when creating admin userClosedMartin Kutschker2008-05-29

Actions
Actions #1

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).

Actions #2

Updated by Chris topher over 14 years ago

In current trunk there is an API to check if the DB is connected. See #0014120.

Actions #3

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?

Actions #4

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.

Actions #5

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 ?

Actions #6

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

Actions

Also available in: Atom PDF