>From (http://es.php.net/manual/en/pdo.connections.php) it appears you need to use 127.0.0.1 rather than localhost if you're going to change the port used. With mysql you should also ensure that the user has rights to access via 127.0.0.1 rather than localhost.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ramiroh Sent: 01 May 2009 02:09 To: symfony users Subject: [symfony-users] Problem with DSN, (port) Hi, my problem is that i need use a port, i'm using a server portable "Server2Go" and work with port 4001, but when i put this port in the DSN my page not work, is freezes databases.yml all: propel: class: sfPropelDatabase param: classname: PropelPDO dsn: 'mysql:dbname=xxxdb;host=localhost' # dsn: 'mysql:dbname=xxxbd;host=localhost;port=4001' ************************** username: xxxus password: xxxpass encoding: utf8 persistent: true pooling: true propel.ini propel.database = mysql propel.database.driver = mysql propel.database.url = mysql://root:@127.0.0.1/xxxdb ; propel.database.url = mysql://root:@127.0.0.1:4001/xxxdb ******************** propel.database.creole.url = ${propel.database.url} propel.database.user = xxxus propel.database.password = xxxpass really i need help, thanks in advance... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
