Accessing MySQL with mysql.sock in another location

Mark Wieder mwieder at ahsoftware.net
Thu Apr 17 13:43:33 EDT 2008


Ben-

> Is there a way to configure Rev's database client to access mysql.sock at 
> a location other than /tmp/mysql.sock ?

You might try (untested with rev)

ps -ef | grep mysql.*socket
# to find the socket location (on mine it's /var/run/mysqld/mysqld.sock)
# and then
export MYSQL_UNIX_PORT=/var/run/mysqld/mysqld.sock

-- 
 Mark Wieder
 mwieder at ahsoftware.net 






More information about the use-livecode mailing list