On Mon, 2007-10-15 at 18:09 +0200, Marco Antonioli wrote: > Hi all, > > I have a mysql version 4.1 installed on port 3306 (linux OS). > For testing poupose I have installed mysql 5.0 on the same machine but > on port 3307 (and a different sock location), and this works fine. > > Now I want to configure a Typo3 with a 4.1.2 version site (all sites on > that machine uses typo 4.1.1) to use mysql 5 db. > > (User used to connect have right permission on db. The db is created > empty manually) > > With the Install tool (and so in localconf.php) I have: > > $typo_db_host='localhost:3307' //but doesn't works > > I tried also mysql sock connection > > $typo_db_host='localhost:/path/to/mysql.sock' //but doesn't works > > Has anyone experience with nonstandard port connection on Typo3? > > Thanks a lot in advance > > Marco
Hi Marco, try: $typo_db_host = '127.0.0.1:3307'; When you set "localhost" or "localhost:port" php always tries to connect to a local socket, so $typo_db_host='localhost:3307' doesn't affects mysql connection. (http://www.php.net/manual/en/function.mysql-connect.php) Bye -- Robert von Hackwitz [EMAIL PROTECTED] _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english