-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1049: Unknown database 'xyz
;' error while executing prepared statement
#915
Comments
Hi @krupal-raiyani . Thank you for the report. |
Issue fixed and tested in branches v1.3.4-dev and v1.4.0. |
Hi @renecannao . Thanks for quick update... We are planning to deploy the same in production environment. If you could provide the tentative date for the same that will be really help full for us. Thanks again.. |
Hi @renecannao . Thanks for update. We have changed the lines MySQL_Session.cpp in proxysql-1.3.3 to Remove trailing semicolon.. But when we compile the source by make, it give below errors g++ -fPIC -c -o obj/ProxySQL_GloVars.oo ProxySQL_GloVars.cpp -std=c++11 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig-1.4.9/lib -I../deps/re2/re2 -I../deps/sqlite3/sqlite3 -O2 -ggdb -Wall -DGITVERSION="" -------------below is over gcc version [root@localhost proxysql-1.3.3]# gcc -v Below are the files which contains the same flag [root@localhost proxysql-1.3.3]# grep -r "=c++11" * This might be the gcc compability issue, where we might need the change the flag which support the same. Kindly provide your suggestion on the same. Note : we might need to change the flag from "std=c++11 to -std=c++0x" reference : http://askubuntu.com/questions/871392/cc1plus-error-unrecognized-command-line-option-std-c11-i-am-getting-this |
GCC 4.4. is very old. |
We are using 6.8 RHEL |
Ok, so an RPM for 6.7 will run on 6.8 . |
@krupal-raiyani : here it is! Note that it will say version |
Hi Rene,
Thanks for quick update..
We will try the same and provide you the update..
Thanks
Krupal Raiyani
…On Thu, Feb 16, 2017 at 6:14 PM, René Cannaò ***@***.***> wrote:
@krupal-raiyani <https://github.com/krupal-raiyani> : here it is!
proxysql-1.3.4-dev-1.x86_64.rpm.gz
<https://github.com/sysown/proxysql/files/780096/proxysql-1.3.4-dev-1.x86_64.rpm.gz>
Note that it will say version 1.3.3-6-g8ba7099 : this because 1.3.4 is
not released yet
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#915 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABTLt_CPj-dPOOCvLBBG3nAEsVxT9JpSks5rdESegaJpZM4MCr2L>
.
|
Hi @renecannao Many thanks for the same.. Issue is resolved. Regards, |
Hello, Failed to mysql_change_user()2017-09-20 10:19:58 MySQL_Session.cpp:1655:handler_again___status_CHANGING_USER_SERVER(): [WARNING] Error during change user: 1102, Incorrect database name ' |
I am new to proxysql, this might be configuration issue or already reported one.
We have php application with laravel frame work which connect the Mysql DB, application is successfully able to connect with DB and perform all the operation without proxySQL. But when ever we point application to proxysql which connects to same DB, this gives below during the DB connection or at the time of prepared statement execution.
2017-01-27 12:38:57 MySQL_Session.cpp:1004:handler_again___status_CHANGING_SCHEMA(): [WARNING] Error during INIT_DB: 1049, Unknown database '
elitedb
;'2017-01-27 12:38:58 mysql_connection.cpp:559:handler(): [ERROR] Failed to mysql_real_connect() on 192.168.6.140:3340 , FD (Conn:34 , MyDS:34) , 1049: Unknown database '
elitedb
;'.Then we have capture the network traces to find out the difference.
App IP : 192.168.6.133
Proxy SQL : 192.168.6.140
Mysql : 192.168.6.140
DB name : elitedb
Version : ProxySQL version 1.3.2-1, codename Truls
filter_proxy_issue_gh.zip
without_proxy_gh.zip
I hope you get my point, Thanks in advance..
The text was updated successfully, but these errors were encountered: