I have to move a database from sql server to mySql, and our current db uses schemas as namespace.
So all of the FOO tables can be reference like FOO.TableFoo1, FOO.TAbleFoo2, FOO.TableF003, etc.
Can we do this with MySql? Will it work.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes in mysql you can have many schema, select the schema you want to use with the
USEcommand or the mysql_select_db() API. You can also do cross-schema queries, as inYou create and delete schema using
CREATE DATABASE FOOandDROP DATABASE BAR.