Changing details in read_auth?
Hi,
I'm trying to change the default_db in read_auth but I can't see any way to do this?
function read_auth( auth )
auth.default_db = prepend_string .. auth.default_db
print( "Default db: " .. auth.default_db )
end
Obviously doesn't work. is there a way to do this? I can't do it as a COM_INIT query because I have a mysql client connecting with an incorrect database name and I wish to change it to a different database name. The client just says 'unknown database' if the read_auth stage fails because the database doesnt exist, and the connection is terminated...
Thanks,
Mark
Subject
Views
Written By
Posted
Changing details in read_auth?
3863
May 20, 2009 04:25AM
2467
May 25, 2009 11:13AM
2469
May 26, 2009 09:56AM
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.