Skip to content
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

Implement MySqlConnection.ChangeDatabase #201

Closed
xyting opened this issue Mar 21, 2017 · 3 comments
Closed

Implement MySqlConnection.ChangeDatabase #201

xyting opened this issue Mar 21, 2017 · 3 comments
Assignees
Milestone

Comments

@xyting
Copy link

@xyting xyting commented Mar 21, 2017

Currently, I user this package for test, I will dynamically change the database name, but I found the ChangeDatabase(string) method throw NotImplemtedException

public override void ChangeDatabase(string databaseName)
{
	throw new NotImplementedException();
}
@bgrainger bgrainger changed the title Please impls the ChangeDatabase() method Implement MySqlConnection.ChangeDatabase Mar 21, 2017
@bgrainger bgrainger added this to the 1.0 milestone Mar 21, 2017
@bgrainger
Copy link
Member

@bgrainger bgrainger commented Mar 21, 2017

This should be implemented by sending a COM_INIT_DB packet.

@bgrainger bgrainger self-assigned this Mar 22, 2017
bgrainger added a commit to bgrainger/MySqlConnector that referenced this issue Mar 22, 2017
@bgrainger
Copy link
Member

@bgrainger bgrainger commented Mar 22, 2017

Implemented in 0.15.0.

@xyting
Copy link
Author

@xyting xyting commented Mar 23, 2017

so quickly, thanks! good job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants