Project

General

Profile

Actions

Bug #19239

closed

Cannot log in to backend

Added by Brian Lamb over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-08-20
Due date:
% Done:

0%

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

Description

A few months ago we upgraded to Typo3 version 4.2 and everything was okay.
Last week we upgraded our MySQL server from 5.0 to 5.1 and now I cannot log in to the backend. I was able to log in with MySQL 5.0 and Typo3 4.2.

Also, the website displays properly so it is accessing the database for that at least.

(issue imported from #M9203)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #15295: Unable to login into BE when using MySQL 5+ClosedKarsten Dambekalns2005-12-19

Actions
Actions #1

Updated by Rob Vonk about 16 years ago

Do you have more than one BE user? None works?

Can you create a new Admin user from the install tool?

Actions #2

Updated by Rob Vonk about 16 years ago

Or could it be that it's duplicate of this?

http://bugs.typo3.org/view.php?id=6299

Actions #3

Updated by Brian Lamb over 15 years ago

We were able to solve this by adding the following the to localconf.php file:

$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET SESSION sql_mode=MYSQL40;'.chr(10).'SET NAMES utf8;';

Actions #4

Updated by Chris topher over 14 years ago

Setting sql-mode=MYSQL4 solves this problem. You can do so in in the my.ini of mysql or in the TYPO3 Install Tool using $TYPO3_CONF_VARS['SYS']['setDBinit'].

Resolved as duplicate of #15295.

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF