Installing DBLinq for mapping a MySQL Database

479 views
Skip to first unread message

maroua

unread,
Jun 28, 2011, 12:23:26 PM6/28/11
to DbLinq
Hello!
I'm trying to install DbMetal for mapping my MySQL database but I'm
blocked since several hours trying to follow the instructions in many
tutorials
In fact when i enter
DbMetal.exe -s:localhost -p:root -u;root -d:essai -provider=MySQL -
language=c#
this message appear:
DbLinq Database mapping generator 2008 version 0.20
for Microsoft (R) .NET Framework version 3.5
Distributed under the MIT licence (http://linq.to/db/license)

DbMetal: Could not load databaseConnectionType type
'MySql.Data.MySqlClient.MySq
lConnection, MySql.Data'. Try using the --with-dbconnection=TYPE
option.
and when i enter
C:\Documents and Settings\stage\Desktop\MySQL
\DbLinq-0.20.1>DBMetal.exe -u:root
-p:root -s:localhost -d:essai -provider=MySQL -language=c# -with-
dbconnection=My
SQL.Data.MySQLClient.MySQLConnection, MySQL.Data
this one appear
C:\Documents and Settings\stage\Desktop\MySQL
\DbLinq-0.20.1>DBMetal.exe -u:root
-p:root -s:localhost -d:essai -provider=MySQL -language=c# -with-
dbconnection=My
SQL.Data.MySQLClient.MySQLConnection, MySQL.Data
DbLinq Database mapping generator 2008 version 0.20
for Microsoft (R) .NET Framework version 3.5
Distributed under the MIT licence (http://linq.to/db/license)

>>> Reading schema from DBML file 'MySQL.Data'
DbMetal: Could not find file 'C:\Documents and Settings\stage\Desktop
\MySQL\DbLi
nq-0.20.1\MySQL.Data'.
Please help me :(
Thank you

Gia Han Tran

unread,
Aug 6, 2011, 11:33:33 AM8/6/11
to DbLinq
You shoul go there. There is a sample very easy for you to know how to
generate code from database mysql
http://yosanai.com/linq-mysql/sample-console-application-using-dblinq
Reply all
Reply to author
Forward
0 new messages