How can I view my MySQL database created by Entityframework 6 - mysql

I use Entity framework 6 and MySQL 5.5
When I use code first to create the my sql database, the database is created successfully, but when I open mysql workbench, I can't find it in MySQL workbench.
I have used EF 5.0 code before to create a database and the database can be found in MySQL workbench.
has anyone met this issue before?

I'll bet an arm and a leg you haven't configured EF correctly an it is using it's default database instead of mysql, look here or here
The easiest way to verify that is to shut down your MySQL server and test if your can still query your database with EF or not.

Related

Linked server in MySQL Workbench

I am working with MySQL Workbench and I want to query 2 servers at the same time. I searched and find out that the best way to proceed is to create a linked server.
I am wondering is it possible to create this only using workbench or MySQL server in general ?
There's nothing in MySQL Workbench that lets you send a query to more than one server at a time.

Migrating a wordpress site from azure sql to Mysql

I need to migrate a mysql db including data from ms azure to my regular hosting provider. I already have an empty db waiting there.
The db contains a wordpress+woocommerce and various plugin tables.
Plz help..
Everywhere i find migrating from Mysql to sql but not Sql to Mysql
You should try MySQL Workbench which can easily do a migration from SQL Server (and Azure DB) to MySQL. The migration can be on the fly or it can result in some .sql scripts that you have to load in you MySQL database using your regular client (phpMyAdmin, EMMA or of course, MySQL Workbench).
You can find additional information about the migration capabilities of MySQL Workbench here.

the difference between mysql server and mysql workbench

I've instaled MySQL workbench in Windows 7 64bit. Unfortunately, I'm facing problems:
In the Object Browser, when I click on my DB and right click on tables to create one, I can not insert any column (disabled) and therefore, can not insert tables. check this:
Can not create table in MySQL workbench 5.2.40
I can create table from the EER model. But even though, I faced problems when tried to connect my Java application to this database.
MySQL and Java: table doesn't exist
I have searched, and not sure from this, some of what I found is that workbench have probelms with Windows 7 - 64 bit (any idea if this is correct??). The only version I found was for 68, it installed successfully but I'm having probems.
I want to downlod MySQL server but before that: Will Mysql Server give me the same features that the workbench does? I need to work with GUI (insert, delete, update,..etc).
EDIT:
Also, the table I added using the EER are not visible in the Object browser. I only can see the schema in the Object browser without any table underneath it.
MySQL Workbench is a MySQL Server GUI. The two are different products. MySQL Workbench requires a MySQL Server connection for most tasks (except for data modeling). This reliance on a MySQL connection is clearer in the latest version of MySQL Workbench (6.1) than it was in 5.2.
MySql Workbench and MySql Server both are completely different things. MySql Server is basically a database and MySql workbench is a GUI or graphical management tool which helps us interact with MySql server database.
Similarly, SQL Server Management Studio is the graphical management tool for SQL Server.
Both are for manipulate the structure, queries and function, procedure, etc....
In Both you can Use DML and DDL
If you ask me I love Server even if you can create really cool designs on workbench, but basically you can do the same in both (insert, delete, update,..etc and more)
So it's up to you, I think MySQL server is a little bit lighter that Workbench, but if you want to, try it both.
Workbench looks like more friendly

how to import database created in microsoft sql server 2005 to MySql server 5.0

I have created database in microsoft sql server 2005 can i use that particular database in mysql server 5.0 .
There is no common way to perform such kind of migration because of much of differences between these two RDBMS.
The quick suggestion can be: export you MSSQL database into SQL file, open it via favorite text editor, remove MSSQL specific instructions, and load into MySQL using mysql console tool.
This way should be OK for non-complex databases without complex constraints, foreign keys and stored procedures.
Otherwise, you'll need to rewrite these type of database artifacts using MySQL dialect.

How do I connect webapp VB/LINQ to a MySQL database server on a Linux

I have a programmer who is using VB and LINQ; and I have a MySQL database that is running on a linux server. My programmer tells me that:
he cannot connect to the MySQL database via LINQ
if he was able to connect then it would require all sorts of rewriting
I don't know anything about LINQ but I thought it was an ORM. As such, any DB server that is supported should work just fine? Right?
OK, so maybe it's not an ORM... maybe it should generically connect to ODBC and render similar results?
Is there any advice out there for connecting VB+LINQ to MySQL?
you could use an open source project like http://code2code.net/DB_Linq/index.html
or you can use Linq to NHibernate: http://ayende.com/Blog/archive/2007/03/16/Linq-for-NHibernate.aspx
or even InterLinq if you want to make a multi-tier setup: http://www.codeplex.com/interlinq