You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to connect to the mysql server with the soci library and use it to create a database.(like 'CREATE DATABASE person;') I find that I have to create a session with 'dbName'.
I can do this without passing dbName so that I can connect to the default database when I call mysql_real_connect(). What should I do next to create a new database and switch to it? Or is there another way?
The text was updated successfully, but these errors were encountered:
I want to connect to the mysql server with the soci library and use it to create a database.(like 'CREATE DATABASE person;') I find that I have to create a session with 'dbName'.
I can do this without passing dbName so that I can connect to the default database when I call mysql_real_connect(). What should I do next to create a new database and switch to it? Or is there another way?
The text was updated successfully, but these errors were encountered: