Project

General

Profile

Actions

Bug #46936

closed

Database connection problem / installer

Added by Marcin Sągol about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2013-04-05
Due date:
% Done:

0%

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

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

typo3_missing_tables (21.6 KB) typo3_missing_tables Marcin Sągol, 2013-04-05 15:29
Actions #1

Updated by Alexander Opitz about 11 years ago

  • Status changed from New to Needs Feedback

Can you post, which tables are missing?

Did you use latest master?

Actions #2

Updated by Marcin Sągol about 11 years ago

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.

Actions #3

Updated by Alexander Opitz about 11 years ago

Which MySQL version are you using? Does it have InnoDB Support?

Actions #4

Updated by Marcin Sągol about 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
Actions #5

Updated by Alexander Opitz about 11 years ago

Is it possible that you have the DBAL Extension active in your LocalConfiguration.php?

Actions #6

Updated by Marcin Sągol about 11 years ago

It is indeed listed in
'EXT' => array('extListArray'=> ...));
array

Actions #7

Updated by Alexander Opitz about 11 years ago

Remove the file and start from beginning of the installation with latest master.

Actions #8

Updated by Marcin Sągol about 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.

Actions #9

Updated by Alexander Opitz about 11 years ago

Yes, thats another problem I didn't find yet.

Actions #10

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed

Closing as it worked, discussed in IRC.

Actions

Also available in: Atom PDF