Description:
After instaling solaris binary package, link '/usr/local/mysql' not exist.
How to repeat:
# pkgadd -d mysql-standard-5.0.27-solaris10-x86_64.pkg
<skip installation messages>
# mysql --default-character-set=cp1251
mysql: Character set 'cp1251' is not a compiled character set and is not specified in the '/usr/local/mysql/share/mysql/charsets/Index.xml' file
# ls -l /usr/local/mysql/
/usr/local/mysql/: No such file or directory
# ls /usr/local/
/usr/local/: No such file or directory
Suggested fix:
# mkdir /usr/local
# ln -s /opt/mysql/mysql/ /usr/local
# mysql --default-character-set=cp1251
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 5.0.27-standard-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>