想看的再點開
> yum -y install perl-DBD-MySQL.x86_64
> cd /home/mysql/sql-bench/
> perl run-all-tests --user=mysql --server=MySQL --dir=/tmp/sql-bench-result --log
如果出現 Got error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' when connecting to DBI:mysql:database=test;host=localhost with user: 'mysql' password: ''
> export MYSQL_UNIX_PORT=/tmp/mysql.sock
0 意見:
張貼留言