I have a zend project wich use a remote mysql server.
I have 2 unix server, one http and one mysql.
When i try to connect from the project i have this error message, on local all work and parameters are same exept the host :
- Code: Select all
Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
This is my config :
- Code: Select all
resources.db.adapter = "mysqli"
resources.db.params.username = "user"
resources.db.params.password = "*********"
resources.db.params.dbname = "my_base"
ressources.db.params.host = "79.98.**.**"
ressources.db.params.port = "3306"
When i do a manual connection without zend framework all is working, i don't understant :(

