Hello, mysql Gurus,
Because of disk space issues, the data dir of my mysql DB is somewhere else other than /var/lib/mysql. I did not link /var/lib/mysql to the real data dir though. It works OK until I want to use perl DBI which complains can't connect to mysql thru '/var/lib/mysql/mysql.sock'. So I just create a soft link of '/var/lib/mysql/mysql.sock' pointing to the real socket and it works. I am wondering if this is gonna give me any problem in the future. Or i should just soft link the whole '/var/lib/mysql' instead of a single file?


        THank you very much for help. All the best
        ginger


I've been doing this off and on with various systems for various reasons. Haven't had a problem so far. Unix basically treats everything as a file so hard links, soft links, sockets. It basically doesn't care so long as you have rights, you can do this without issue.





-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to