Hi,

i'm not entirely sure that i'm using it correctly, so here's what i
did:

i edited the run_myMetal.bat to look like this:

DbMetal.exe -provider=MySql -database:d00bbb05 -server:myserverip -
user:d00bbb05 -password:mypassword -namespace:datacdbb -
code:datacddb.cs -sprocs

and put it into the folder where dbmetal.exe resides. i am pretty sure
database, server, user and password are set correctly. i get the
following error though:

>>> Reading schema from MySQL database
DbMetal failed:MySql.Data.MySqlClient.MySqlException: Access denied
for user 'd0
0bbb05'@'%' to database 'information_schema'
   bei MySql.Data.MySqlClient.MySqlStream.OpenPacket()
   bei MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64&
affectedRows, Int64& lastInsertId)
   bei MySql.Data.MySqlClient.MySqlDataReader.GetResultSet()
   bei MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader
(CommandBehavior behavior)
   bei MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader
(CommandBehavior behavior)
   bei
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
   bei DbLinq.Util.DataCommand.Find[T](IDbConnection conn, String sql,
String dbParameterName, String db Func`2 readDelegate) in C:\Users
\Admin\Desktop\dblinq\src\DbLinq\Util\DataCommand.cs:Zeile 64.
   bei DbLinq.MySql.MySqlSchemaLoader.ReadTables(IDbConnection
connectionString, String databaseName) in C:\Users\Admin\Desktop\dblinq
\src\DbLinq.MySql\MySqlSchemaLoader.Tables.cs:Zeile 47.
   bei DbLinq.Vendor.Implementation.SchemaLoader.LoadTables(Database
schema, SchemaName schemaName, IDbConnection conn, INameAliases
nameAliases, NameFormat nameFormat, Names names) in C:\Users\Admin
\Desktop\dblinq\src\DbLinq\Vendor\Implementation\SchemaLoader.cs:Zeile
363.
   bei DbLinq.Vendor.Implementation.SchemaLoader.Load(String
databaseName, INameAliases nameAliases, NameFormat nameFormat, Boolean
loadStoredProcedures, String contextNamespace, String entityNamespace)
in C:\Users\Admin\Desktop\dblinq\src\DbLinq\Vendor\Implementation
\SchemaLoader.cs:Zeile 121.
   bei DbMetal.Generator.Implementation.Processor.ReadSchema
(Parameters parameters, ISchemaLoader& schemaLoader) in C:\Users\Admin
\Desktop\dblinq\src\DbMetal\Generator\Implementation
\Processor.cs:Zeile 218.
   bei DbMetal.Generator.Implementation.Processor.ProcessSchema
(Parameters parameters) in C:\Users\Admin\Desktop\dblinq\src\DbMetal
\Generator\Implementation\Processor.cs:Zeile 112.

Would be great if anyone could help me. Thanks.

MySQL Version is 4.1.22
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to