MySQL Forums
Forum List  »  Router & Proxy

Execute sql error after replace username and password use read_auth
Posted by: Thomas Lee
Date: June 26, 2013 09:35PM

I use below code replace username and password in mysql-proxy

proxy.queries:append(1, proto.to_response_packet({
username = mapped.new_user,
response = password.scramble(
s.scramble_buffer, password.hash(mapped.new_password)),
charset = 8, -- default charset
database = c.default_db,
max_packet_size = 1 * 1024 * 1024
}))

login successed,but when execute multi select return error.
example: select * from users; select * from users;

Options: ReplyQuote


Subject
Views
Written By
Posted
Execute sql error after replace username and password use read_auth
4837
June 26, 2013 09:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.