I'm new to emacs and not very used to lisp so this is probably a newby error but i can't find the solution.
I try to install the sql mode to interact with my mysql DB.
To do so, I modified the sql.el file to precise the sql-user, sql-password, sql-database, sql-server, and sql-port option, added the port in the sql-mysql-login-params
I launch emacs and M-x sql-mysql
the mode change to SQLi[MySQL]:run
I change buffer, M-x find-file myfile.sql
This buffer is in SQL[ANSI] mode
Then i C-c C-r a sql statement and have the error "No SQL Process started"
As said somewhere, I M-x sql-set-sqli-buffer but i have the error "There is no suitable SQLi buffer"
For this, I can't find the solution... What did I miss ?
I use emacs 24.2.1
edit : when I execute a select statement directly in the SQLi[MySQL]:run buffer, it returns rows as expected...
Shouldn't the other buffer be in SQL[MySQL] mode ?