(setq sql-mysql-program "/path/to/your/mysql")
(setq sql-user "mysql user")
(setq sql-password "password")
(setq sql-server "mysql-server")
(setq sql-mysql-options "optional command line options")
fournir des valeurs à ces variables via votre .emacs
devrait aider votre situation.