Am 22.11.2012 07:19, schrieb Mark Constable: > Am 22.11.2012 11:32, schrieb Mark Constable: >>> socket = /var/run/mysqld/mysqld.sock >>> $rcmail_config['db_dsnw'] = >>> 'mysql://rcadmin:XXXXXXX@localhost/roundcubemail'; >> >> localhost IS unix-socket >> 127.0.0.1 is TCP/IP > > Right, so somehow RC via PHP knows exactly where my particular MySQL > socket path is then?
if your server is properly configured YES on fedora any mysql/php default is the same location and it works out of the box, with weird packages configure PHP correct to the same path as mysqld mysql.default_socket = "/var/lib/mysql/mysql.sock" mysqli.default_socket = "/var/lib/mysql/mysql.sock" it is common for any web-application that it relies on basic configuration like this is done from whoever has installed the software
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Roundcube Users mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/users
