Does MySQL report an error “MySQL: unknown option” for all parameters

error:

[[email protected] tmp]# mysql -uroot -p
mysql: unknown option ‘–You have new mail in /var/spool/mail/root’
[[email protected] tmp]#
[[email protected] tmp]# mysql –?
mysql: unknown option ‘–You have new mail in /var/spool/mail/root’
[[email protected] tmp]#

———————

It was only later discovered that there was a problem with the my.cnf provided in the package. There was an extra line at the end of the file.

 

Similar Posts: