Can asp.net applications run on my sql database properly?
↧
asp.net with my sql (no replies)
↧
Parameterized connection string in VB.NET (no replies)
How do I write a parameterized connection string in VB.NET? All the examples in the documentation are hard-coded. The string would just be "Server=@server;Port=@port;Database=Watts;Uid=@username;Pwd=@password;allow zero datetime=no;", but I don't know how to actually add parameters to the mysqlconnection.connectionstring object.
↧
↧
Could not load file or assembly 'MySql.Data.CF' (no replies)
I am trying to use Connector v2.0 in a C# application.
1. I did not install the Connector
2. I copied MySql.Data, MySql.Data.CF, MySql.Data.Entity, MySql.Web to bin folder
3. I added in web.config:
<system.data>
<DbProviderFactories>
<add name="MySQL Data Provider"
invariant="MySql.Data.MySqlClient"
description=".Net Framework Data Provider for MySQL"
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<dependentAssembly>
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" />
<bindingRedirect oldVersion="0.0.0.0-6.4.4.0" newVersion="6.5.4.0" />
</dependentAssembly>
4. Added REFERENCES to all 4 dlls above
Still I get the error.
Could not load file or assembly 'MySql.Data.CF' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
PLEASE HELP
1. I did not install the Connector
2. I copied MySql.Data, MySql.Data.CF, MySql.Data.Entity, MySql.Web to bin folder
3. I added in web.config:
<system.data>
<DbProviderFactories>
<add name="MySQL Data Provider"
invariant="MySql.Data.MySqlClient"
description=".Net Framework Data Provider for MySQL"
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<dependentAssembly>
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" />
<bindingRedirect oldVersion="0.0.0.0-6.4.4.0" newVersion="6.5.4.0" />
</dependentAssembly>
4. Added REFERENCES to all 4 dlls above
Still I get the error.
Could not load file or assembly 'MySql.Data.CF' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
PLEASE HELP
↧
Problem saving file to MySQL (no replies)
I am using this code to save file to MySQL but when I try to open the file after saving it I get an error saying:
Word was unable to read this document. It may be corrupt.
here is the code to write:
file_name = Path.GetFileName(uploadResume.PostedFile.FileName);
file_extension = Path.GetExtension(uploadResume.PostedFile.FileName);
switch (file_extension)
{
case ".pdf": document_type = "application/pdf"; break;
case ".doc": document_type = "application/vnd.ms-word"; break;
case ".docx": document_type = "application/vnd.ms-word"; break;
case ".gif": document_type = "image/gif"; break;
case ".png": document_type = "image/png"; break;
case ".jpg": document_type = "image/jpg"; break;
case ".jpeg": document_type = "image/jpg"; break;
}
// calculate size of file;
int file_size = uploadResume.PostedFile.ContentLength;
// create array to read the file into it;
byte[] document_binary = new byte[file_size];
uploadResume.PostedFile.InputStream.Read(document_binary, 0, file_size);
and then passing it as parameters:
sql_command.Parameters.AddWithValue("param_resume_format", document_type).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.Add("param_resume_data", MySqlDbType.Blob, file_size).Value = document_binary;
and here is how I am retrieving it:
sql_connection = new MySqlConnection(ConfigurationManager.ConnectionStrings["SQLdb"].ConnectionString);
sql_connection.Open();
sql_command = new MySqlCommand("sp_get_resume_by_id", sql_connection);
sql_command.CommandType = CommandType.StoredProcedure;
sql_command.Parameters.Add("param_resume_id", MySqlDbType.Int32).Value = resume_id;
sql_reader = sql_command.ExecuteReader();
sql_reader.Read();
if (sql_reader.HasRows)
{
file_name = sql_reader["resume_id"].ToString() + sql_reader["resume_ext"].ToString();
byte[] document_binary = (byte[])sql_reader["resume_data"];
FileStream file_stream = new FileStream(@"C:\Temp\" + file_name, FileMode.Create);
file_stream.Write(document_binary, 0, document_binary.Length);
file_stream.Close();
file_stream.Dispose();
txtResume.Visible = true;
}
Word was unable to read this document. It may be corrupt.
here is the code to write:
file_name = Path.GetFileName(uploadResume.PostedFile.FileName);
file_extension = Path.GetExtension(uploadResume.PostedFile.FileName);
switch (file_extension)
{
case ".pdf": document_type = "application/pdf"; break;
case ".doc": document_type = "application/vnd.ms-word"; break;
case ".docx": document_type = "application/vnd.ms-word"; break;
case ".gif": document_type = "image/gif"; break;
case ".png": document_type = "image/png"; break;
case ".jpg": document_type = "image/jpg"; break;
case ".jpeg": document_type = "image/jpg"; break;
}
// calculate size of file;
int file_size = uploadResume.PostedFile.ContentLength;
// create array to read the file into it;
byte[] document_binary = new byte[file_size];
uploadResume.PostedFile.InputStream.Read(document_binary, 0, file_size);
and then passing it as parameters:
sql_command.Parameters.AddWithValue("param_resume_format", document_type).MySqlDbType = MySqlDbType.VarChar;
sql_command.Parameters.Add("param_resume_data", MySqlDbType.Blob, file_size).Value = document_binary;
and here is how I am retrieving it:
sql_connection = new MySqlConnection(ConfigurationManager.ConnectionStrings["SQLdb"].ConnectionString);
sql_connection.Open();
sql_command = new MySqlCommand("sp_get_resume_by_id", sql_connection);
sql_command.CommandType = CommandType.StoredProcedure;
sql_command.Parameters.Add("param_resume_id", MySqlDbType.Int32).Value = resume_id;
sql_reader = sql_command.ExecuteReader();
sql_reader.Read();
if (sql_reader.HasRows)
{
file_name = sql_reader["resume_id"].ToString() + sql_reader["resume_ext"].ToString();
byte[] document_binary = (byte[])sql_reader["resume_data"];
FileStream file_stream = new FileStream(@"C:\Temp\" + file_name, FileMode.Create);
file_stream.Write(document_binary, 0, document_binary.Length);
file_stream.Close();
file_stream.Dispose();
txtResume.Visible = true;
}
↧
Unable to find the requested .Net Framework Data Provider error (no replies)
I am trying to create a new C# Reports Application in VS2010 using .NET Framework 4. While going through the Data Source Configuration Wizard and trying to create a New Connection, I get an error "Unable to find the requested .Net Framework Data Provider".
VS is up to date, I've recently installed the newest version of MySQL and their MySQL Connector Net 6.5.4. The Change Data Source dialog only offers one option for MySQL Database: .NET Framework Data Provider for MySQL. In the Add Connection dialog, I provide the requested info; Test Connection reports a success. But, when I click OK I get that error message.
Can anyone provide a clue as to what is wrong and how to fix it?
VS is up to date, I've recently installed the newest version of MySQL and their MySQL Connector Net 6.5.4. The Change Data Source dialog only offers one option for MySQL Database: .NET Framework Data Provider for MySQL. In the Add Connection dialog, I provide the requested info; Test Connection reports a success. But, when I click OK I get that error message.
Can anyone provide a clue as to what is wrong and how to fix it?
↧
↧
MySQL Connector/Net for EF binds TINYINT(1) incorrectly (1 reply)
I believe I've discovered a bug in the way the MySQL Connector for .NET maps fields of type TINYINT(1) within Entity Framework.
The database I'm working with has a number of fields used to store "enumeration values" - basically an integer that represents a specific .NET enumeration value. ie/ Open = 1, Closed = 2
Since the enumerations contain a small number of possible values (2-5), the majority of these fields are declared as the MySQL datatype TINYINT(1). In other words, we want an integer with a minimal amount of storage space and a maximum of "one character".
When we use Entity Framework 4.3 to map these TINYINT(1) fields to an "int" data type, the integer value *always* comes back as "1", regardless of the underlying storage value. The integer values 2, 3, 4, etc all get converted to 1.
If I convert the entity property's type to "string", it receives a value of "True".
It appears as though the MySQL Connector for .NET is hardcoded to treat TINYINT(1) as a boolean, regardless of the data type it's eventually bound to. TINYINT(1) should only be converted to a boolean when it's bound to a "bool" property, and nothing else. It appears as though it's trying to simulate the behavior of the "BIT" field in SQL Server, which is a completely different thing (it's not an integer, while TINYINT is).
Is this a known issue? Should I file a bug report?
The database I'm working with has a number of fields used to store "enumeration values" - basically an integer that represents a specific .NET enumeration value. ie/ Open = 1, Closed = 2
Since the enumerations contain a small number of possible values (2-5), the majority of these fields are declared as the MySQL datatype TINYINT(1). In other words, we want an integer with a minimal amount of storage space and a maximum of "one character".
When we use Entity Framework 4.3 to map these TINYINT(1) fields to an "int" data type, the integer value *always* comes back as "1", regardless of the underlying storage value. The integer values 2, 3, 4, etc all get converted to 1.
If I convert the entity property's type to "string", it receives a value of "True".
It appears as though the MySQL Connector for .NET is hardcoded to treat TINYINT(1) as a boolean, regardless of the data type it's eventually bound to. TINYINT(1) should only be converted to a boolean when it's bound to a "bool" property, and nothing else. It appears as though it's trying to simulate the behavior of the "BIT" field in SQL Server, which is a completely different thing (it's not an integer, while TINYINT is).
Is this a known issue? Should I file a bug report?
↧
Installing Problem? (no replies)
Hey there,
today i wanted to start with my new asp .net project using visual studio 2010 and mysql as backend database.
I downloaded connector .net (right now the last 3 releases) installed them, drop Mysql.Data.dll in bin of my project and tried to reference it in my project. But no matter how i try it, in Connection, choosing of Datasource Mysql is never listet.
Did anybody hear about such a bug right now (i can not find anything like this in the internet) or has any suggestions what i could try next?
Thank you for every answer.
Greetings,
Clemens
today i wanted to start with my new asp .net project using visual studio 2010 and mysql as backend database.
I downloaded connector .net (right now the last 3 releases) installed them, drop Mysql.Data.dll in bin of my project and tried to reference it in my project. But no matter how i try it, in Connection, choosing of Datasource Mysql is never listet.
Did anybody hear about such a bug right now (i can not find anything like this in the internet) or has any suggestions what i could try next?
Thank you for every answer.
Greetings,
Clemens
↧
use procedure bodies=true is not using mysql.proc (no replies)
I gave "use procedure bodies=true" still it is using I__S table but not using mysql.proc table Why? please let me know.
↧
Connector for Visual Studio 2010 and 2005 same machine (no replies)
".Net Framework Data Provider for MySQL" is available when I am setting new connection from Server Explorer in Visual Studio 2010. But it is not available in Visual Studio 2005. Note that Professional Visual Studio 2005 and 2010 are on same machine Windows 7 and installed connector version 6.5.4.
↧
↧
ASP.NET MySqlMembership fails login on database move (no replies)
I am trying to move an old ASP.NET application to a new server.
The app is setup with mysql membership/role providers.
I can get to the login page on the new server (uses ASP.NET Login component) but I cannot get passed the login screen. The first time I enter the credentials I get put back to the Login page without any message. If I try again with the same details I get 'Login Failed'.
The membership table does record a successful login.
In my dev env if change the web.config to point to the old MySql server it works fine. Point it to the new database and I get the issue.
Are there any MySql server specific key/values being used somewhere?
I realise that these are pretty old version but -
- Using MySql connector 5.2.7.0
- Current database: 5.1.49 community
- New database: 5.1.63 Community
- .NET Core 3.5.0
To get the data from the remote machine I exported (MySql Administrator) and imported (MySql Workbench).
web.config membership:
<add connectionStringName="golfmannenConnectionString" enablePasswordRetrieval="true"
autogenerateschema="true"
enablePasswordReset="true" requiresQuestionAndAnswer="false"
applicationName="/GM2008" requiresUniqueEmail="false" passwordFormat="Clear"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="MySQLMembershipProvider" writeExceptionsToEventLog="true"
type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=5.2.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>
Authentication:
<authentication mode="Forms">
<forms name=".gmLOGINcookie" loginUrl="~/FormsPublic/Login.aspx"
defaultUrl="~/Forms/Home/Default.aspx" />
</authentication>
I really dont know where to look further. Anybody help?
Thanks
Jon
The app is setup with mysql membership/role providers.
I can get to the login page on the new server (uses ASP.NET Login component) but I cannot get passed the login screen. The first time I enter the credentials I get put back to the Login page without any message. If I try again with the same details I get 'Login Failed'.
The membership table does record a successful login.
In my dev env if change the web.config to point to the old MySql server it works fine. Point it to the new database and I get the issue.
Are there any MySql server specific key/values being used somewhere?
I realise that these are pretty old version but -
- Using MySql connector 5.2.7.0
- Current database: 5.1.49 community
- New database: 5.1.63 Community
- .NET Core 3.5.0
To get the data from the remote machine I exported (MySql Administrator) and imported (MySql Workbench).
web.config membership:
<add connectionStringName="golfmannenConnectionString" enablePasswordRetrieval="true"
autogenerateschema="true"
enablePasswordReset="true" requiresQuestionAndAnswer="false"
applicationName="/GM2008" requiresUniqueEmail="false" passwordFormat="Clear"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="MySQLMembershipProvider" writeExceptionsToEventLog="true"
type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=5.2.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>
Authentication:
<authentication mode="Forms">
<forms name=".gmLOGINcookie" loginUrl="~/FormsPublic/Login.aspx"
defaultUrl="~/Forms/Home/Default.aspx" />
</authentication>
I really dont know where to look further. Anybody help?
Thanks
Jon
↧
How can I have my application be notified when a table changes (no replies)
If 2 computers are running an application on a network, how can I be sure that the systems are constantly displaying up-to-date information from orders taken on other systems, from the web, etc.
↧
MySQL Connector/Net 6.6.1 Alpha 2 has been released (no replies)
MySQL Connector/Net 6.6.1, a new version of the all-managed .NET driver for MySQL has been released. This is the second of two alpha releases intended to introduce users to the new features in the release. This release is not feature complete and there are limitations but it should be stable enough for users to understand the new features and how we expect them to work. As is the case with all non-GA releases, it should not be used in any production environment. It is appropriate for use with MySQL server versions 5.0-5.6
It is now available in source and binary form from http://dev.mysql.com/downloads/connector/net/#downloads and mirror sites (note that not all mirror sites may be up to date at this point-if you can't find this version on some mirror, please try again later or choose another download site.)
The 6.6 version of MySQL Connector/Net brings the following new features:
Stored procedure debugging
Entity Framework 4.3 Code First support
Pluggable authentication (not available in this alpha)
Stored Procedure Debugging
-------------------------------------------
We are very excited to introduce stored procedure debugging into our Visual Studio integration. It works in a very intuitive manner by simply clicking 'Debug Routine' from Server Explorer. As mentioned above, there are still some limitations in the implementation. These limitations are being resolved for future releases. The limitations include:
Changes from the 6.6.0 release
Functions and triggers can now be debugged. Stepping into and out of them is fully supported.
Improved naming of session variables for in and out parameters. This reduces the possibility of name collisions
The debugger now fully supports the 5.1, 5.5, and 5.6 grammars
You no longer have to save the password of your connection to start a debug session
You can now evaluate and change session variables during execution
There are still some limitations such as the following:
Intellisense is currently not enabled in the debugger window.
Some MySQL functions cannot be debugged currently (get_lock, release_lock, begin, commit, rollback, set transaction level)
Only one debug session may be active on a given server
The debugger instruments your procedures automatically. We have seen some instances when the original procedure is not restored correctly.
Breakpoints are supported however if you put a breakpoint on a line where there is no code it will appear as not bound. This is harmless
Conditional breakpoints are not supported
We are excited by the progress we have made since Alpha 1 and look forward to an even better Beta 1. We look forward to your feedback.
Documentation
-------------------------------------
The documentation is still being developed and will be readily available in time for Beta 1. You can view current Connector/Net documentation at http://dev.mysql.com/doc/refman/5.5/en/connector-net.html
You can find our team blog at http://blogs.oracle.com/MySQLOnWindows. You can also post questions on our forums at http://forums.mysql.com/.
Enjoy and thanks for the support!
It is now available in source and binary form from http://dev.mysql.com/downloads/connector/net/#downloads and mirror sites (note that not all mirror sites may be up to date at this point-if you can't find this version on some mirror, please try again later or choose another download site.)
The 6.6 version of MySQL Connector/Net brings the following new features:
Stored procedure debugging
Entity Framework 4.3 Code First support
Pluggable authentication (not available in this alpha)
Stored Procedure Debugging
-------------------------------------------
We are very excited to introduce stored procedure debugging into our Visual Studio integration. It works in a very intuitive manner by simply clicking 'Debug Routine' from Server Explorer. As mentioned above, there are still some limitations in the implementation. These limitations are being resolved for future releases. The limitations include:
Changes from the 6.6.0 release
Functions and triggers can now be debugged. Stepping into and out of them is fully supported.
Improved naming of session variables for in and out parameters. This reduces the possibility of name collisions
The debugger now fully supports the 5.1, 5.5, and 5.6 grammars
You no longer have to save the password of your connection to start a debug session
You can now evaluate and change session variables during execution
There are still some limitations such as the following:
Intellisense is currently not enabled in the debugger window.
Some MySQL functions cannot be debugged currently (get_lock, release_lock, begin, commit, rollback, set transaction level)
Only one debug session may be active on a given server
The debugger instruments your procedures automatically. We have seen some instances when the original procedure is not restored correctly.
Breakpoints are supported however if you put a breakpoint on a line where there is no code it will appear as not bound. This is harmless
Conditional breakpoints are not supported
We are excited by the progress we have made since Alpha 1 and look forward to an even better Beta 1. We look forward to your feedback.
Documentation
-------------------------------------
The documentation is still being developed and will be readily available in time for Beta 1. You can view current Connector/Net documentation at http://dev.mysql.com/doc/refman/5.5/en/connector-net.html
You can find our team blog at http://blogs.oracle.com/MySQLOnWindows. You can also post questions on our forums at http://forums.mysql.com/.
Enjoy and thanks for the support!
↧
Input string was not in a correct format) with ExecuteReader (1 reply)
I am getting Input string was not in a correct format with the following code:
sql_connection = new MySqlConnection(ConfigurationManager.ConnectionStrings["SQLdb"].ConnectionString);
sql_connection.Open();
sql_command = new MySqlCommand("sp_check_if_member_exist", sql_connection);
sql_command.CommandType = CommandType.StoredProcedure;
sql_command.Parameters.AddWithValue("param_member_id", MySqlDbType.Int32).Value = Convert.ToInt32(Request.QueryString["id"]);
sql_command.Parameters.AddWithValue("param_member_guid", MySqlDbType.VarChar).Value = Convert.ToString(Request.QueryString["guid"]);
sql_command.Parameters.Add("param_is_exist", MySqlDbType.Bit).Direction = ParameterDirection.Output;
sql_reader = sql_command.ExecuteReader();
sql_reader.Read();
if (sql_reader.HasRows)
{
if (Convert.ToBoolean(sql_command.Parameters["param_is_exist"].Value) == true)
{
// prompt for activation; panelMessage.Visible = false;
panelActivation.Visible = true;
}
else
{
panelActivation.Visible = false;
lblMessage.Text = "Error activating your membership!";
panelMessage.Visible = true;
return;
}
}
The error occurs on this line:
sql_reader = sql_command.ExecuteReader();
where is my mistake?
sql_connection = new MySqlConnection(ConfigurationManager.ConnectionStrings["SQLdb"].ConnectionString);
sql_connection.Open();
sql_command = new MySqlCommand("sp_check_if_member_exist", sql_connection);
sql_command.CommandType = CommandType.StoredProcedure;
sql_command.Parameters.AddWithValue("param_member_id", MySqlDbType.Int32).Value = Convert.ToInt32(Request.QueryString["id"]);
sql_command.Parameters.AddWithValue("param_member_guid", MySqlDbType.VarChar).Value = Convert.ToString(Request.QueryString["guid"]);
sql_command.Parameters.Add("param_is_exist", MySqlDbType.Bit).Direction = ParameterDirection.Output;
sql_reader = sql_command.ExecuteReader();
sql_reader.Read();
if (sql_reader.HasRows)
{
if (Convert.ToBoolean(sql_command.Parameters["param_is_exist"].Value) == true)
{
// prompt for activation; panelMessage.Visible = false;
panelActivation.Visible = true;
}
else
{
panelActivation.Visible = false;
lblMessage.Text = "Error activating your membership!";
panelMessage.Visible = true;
return;
}
}
The error occurs on this line:
sql_reader = sql_command.ExecuteReader();
where is my mistake?
↧
↧
Error connecting with Server Explorer (VS 2010) (1 reply)
When I try to create a new connection (or refresh an old one, that used to work) I get the following error:
The system detected an invalid pointer address in attempting to use a pointer argument in a call
Tried to look around the web for a solution, but cannot find anything about this specific error.
The system detected an invalid pointer address in attempting to use a pointer argument in a call
Tried to look around the web for a solution, but cannot find anything about this specific error.
↧
identify running server instance of MySQL (4 replies)
I'm using VS2010, .NET 4, C#. How can I check if MySQL servers are running? Based on my experience, users seldom know this information. I want to provide a form that allows the user to select the MySQL server and database each from drop down lists. If there is more than one server, I want to list them all in the server drop down list. Once the server is selected, available databases populate the database drop down list. I know how to code nearly all this. I am specifically interested in finding out what servers are available.
↧
Finding client library for Visual Studio (no replies)
I do not seem to be able to find the location of the mysql library for clients on Visual Studio (on Win7). The particular symbol I'm looking for is _mysql_get_client_info , but I din't think VS9 is finding any client C API symbol.
↧
too many "Init DB" operations in mysql_query.log (no replies)
I made simple program using .net connector, it just performs several "select * from user", however I see "Init DB" for every query. I do not see anything like that on php, for instance. Did I miss something ?
120824 16:35:21 5 Connect root@localhost as anonymous on mysql
5 Query SHOW VARIABLES
5 Query SHOW COLLATION
5 Query SET character_set_results=NULL
5 Init DB mysql
6 Connect root@localhost as anonymous on mysql
6 Query SHOW VARIABLES
6 Query SHOW COLLATION
6 Query SET character_set_results=NULL
6 Init DB mysql
6 Query select * from user
7 Connect root@localhost as anonymous on mysql
7 Query SHOW VARIABLES
7 Query SHOW COLLATION
7 Query SET character_set_results=NULL
7 Init DB mysql
7 Query select * from user
8 Connect root@localhost as anonymous on mysql
8 Query SHOW VARIABLES
8 Query SHOW COLLATION
8 Query SET character_set_results=NULL
8 Init DB mysql
8 Query select * from user
9 Connect root@localhost as anonymous on mysql
9 Query SHOW VARIABLES
9 Query SHOW COLLATION
9 Query SET character_set_results=NULL
9 Init DB mysql
9 Query select * from user
10 Connect root@localhost as anonymous on mysql
10 Query SHOW VARIABLES
10 Query SHOW COLLATION
10 Query SET character_set_results=NULL
10 Init DB mysql
10 Query select * from user
11 Connect root@localhost as anonymous on mysql
11 Query SHOW VARIABLES
11 Query SHOW COLLATION
11 Query SET character_set_results=NULL
11 Init DB mysql
11 Query select * from user
12 Connect root@localhost as anonymous on mysql
12 Query SHOW VARIABLES
12 Query SHOW COLLATION
12 Query SET character_set_results=NULL
12 Init DB mysql
12 Query select * from user
7 Quit
5 Quit
120824 16:35:21 5 Connect root@localhost as anonymous on mysql
5 Query SHOW VARIABLES
5 Query SHOW COLLATION
5 Query SET character_set_results=NULL
5 Init DB mysql
6 Connect root@localhost as anonymous on mysql
6 Query SHOW VARIABLES
6 Query SHOW COLLATION
6 Query SET character_set_results=NULL
6 Init DB mysql
6 Query select * from user
7 Connect root@localhost as anonymous on mysql
7 Query SHOW VARIABLES
7 Query SHOW COLLATION
7 Query SET character_set_results=NULL
7 Init DB mysql
7 Query select * from user
8 Connect root@localhost as anonymous on mysql
8 Query SHOW VARIABLES
8 Query SHOW COLLATION
8 Query SET character_set_results=NULL
8 Init DB mysql
8 Query select * from user
9 Connect root@localhost as anonymous on mysql
9 Query SHOW VARIABLES
9 Query SHOW COLLATION
9 Query SET character_set_results=NULL
9 Init DB mysql
9 Query select * from user
10 Connect root@localhost as anonymous on mysql
10 Query SHOW VARIABLES
10 Query SHOW COLLATION
10 Query SET character_set_results=NULL
10 Init DB mysql
10 Query select * from user
11 Connect root@localhost as anonymous on mysql
11 Query SHOW VARIABLES
11 Query SHOW COLLATION
11 Query SET character_set_results=NULL
11 Init DB mysql
11 Query select * from user
12 Connect root@localhost as anonymous on mysql
12 Query SHOW VARIABLES
12 Query SHOW COLLATION
12 Query SET character_set_results=NULL
12 Init DB mysql
12 Query select * from user
7 Quit
5 Quit
↧
↧
(0x80004005): Packets larger than max_allowed_packet are not allowed. (no replies)
I added "CacheServerProperties=true" to connection string and I'm constantly getting
"(0x80004005): Packets larger than max_allowed_packet are not allowed."
any special issue with CacheServerProperties ?
"(0x80004005): Packets larger than max_allowed_packet are not allowed."
any special issue with CacheServerProperties ?
↧
error in conection (1 reply)
Hi...........
I like to thanks to advance
I am new for this forums I am software developer in vb.net and i use backend for MySQL server 5.0 and my project run in my pc OK but at the Other pc there is error --- could not load file or assembly 'MySQLdata .version=6.5.4.0 culture=neutral public key taken=C5687fc88969c44d'
My Other pc have win 764 bits license Os I also instal mysql-connector-net-6.5.4 connector so any one please help me in this meter
I like to thanks to advance
I am new for this forums I am software developer in vb.net and i use backend for MySQL server 5.0 and my project run in my pc OK but at the Other pc there is error --- could not load file or assembly 'MySQLdata .version=6.5.4.0 culture=neutral public key taken=C5687fc88969c44d'
My Other pc have win 764 bits license Os I also instal mysql-connector-net-6.5.4 connector so any one please help me in this meter
↧
ySQL Connector/Net 6.6.2 Beta has been released new (2 replies)
MySQL Connector/Net 6.6.2, a new version of the all-managed .NET driver for MySQL has been released. This is the first of two beta releases intended to introduce users to the new features in the release. This release is feature complete it should be stable enough for users to understand the new features and how we expect them to work. As is the case with all non-GA releases, it should not be used in any production environment. It is appropriate for use with MySQL server versions 5.0-5.6
It is now available in source and binary form from http://dev.mysql.com/downloads/connector/net/#downloads and mirror sites (note that not all mirror sites may be up to date at this point-if you can't find this version on some mirror, please try again later or choose another download site.)
The 6.6 version of MySQL Connector/Net brings the following new features:
* Stored routine debugging
* Entity Framework 4.3 Code First support
* Pluggable authentication (now third parties can plug new authentications mechanisms into the driver).
* Full Visual Studio 2012 support: everything from Server Explorer to Intellisense & the Stored Routine debugger.
Stored Procedure Debugging
-------------------------------------------
We are very excited to introduce stored procedure debugging into our Visual Studio integration. It works in a very intuitive manner by simply clicking 'Debug Routine' from Server Explorer. You can debug stored routines, functions & triggers. Some of the new features in this release include:
* Besides normal breakpoints, you can define conditional & pass count breakpoints.
* Now the debugger editor shows colorizing.
* Now you can change the values of locals in a function scope (previously caused deadlock due to functions executing within their own transaction).
* Now you can also debug triggers for 'replace' sql statements.
* In general anything related to locals, watches, breakpoints, stepping & call stack should work in a similar way to the C#'s Visual Studio debugger.
Some limitations remains, due to the current debugger architecture:
* Some MySQL functions cannot be debugged currently (get_lock, release_lock, begin, commit, rollback, set transaction level)..
* Only one debug session may be active on a given server.
The Debugger is feature complete at this point. We look forward to your feedback.
Documentation
-------------------------------------
The documentation is still being developed and will be readily available soon (before Beta 2). You can view current Connector/Net documentation at http://dev.mysql.com/doc/refman/5.5/en/connector-net.html
You can find our team blog at http://blogs.oracle.com/MySQLOnWindows.
You can also post questions on our forums at http://forums.mysql.com/.
Enjoy and thanks for the support!
It is now available in source and binary form from http://dev.mysql.com/downloads/connector/net/#downloads and mirror sites (note that not all mirror sites may be up to date at this point-if you can't find this version on some mirror, please try again later or choose another download site.)
The 6.6 version of MySQL Connector/Net brings the following new features:
* Stored routine debugging
* Entity Framework 4.3 Code First support
* Pluggable authentication (now third parties can plug new authentications mechanisms into the driver).
* Full Visual Studio 2012 support: everything from Server Explorer to Intellisense & the Stored Routine debugger.
Stored Procedure Debugging
-------------------------------------------
We are very excited to introduce stored procedure debugging into our Visual Studio integration. It works in a very intuitive manner by simply clicking 'Debug Routine' from Server Explorer. You can debug stored routines, functions & triggers. Some of the new features in this release include:
* Besides normal breakpoints, you can define conditional & pass count breakpoints.
* Now the debugger editor shows colorizing.
* Now you can change the values of locals in a function scope (previously caused deadlock due to functions executing within their own transaction).
* Now you can also debug triggers for 'replace' sql statements.
* In general anything related to locals, watches, breakpoints, stepping & call stack should work in a similar way to the C#'s Visual Studio debugger.
Some limitations remains, due to the current debugger architecture:
* Some MySQL functions cannot be debugged currently (get_lock, release_lock, begin, commit, rollback, set transaction level)..
* Only one debug session may be active on a given server.
The Debugger is feature complete at this point. We look forward to your feedback.
Documentation
-------------------------------------
The documentation is still being developed and will be readily available soon (before Beta 2). You can view current Connector/Net documentation at http://dev.mysql.com/doc/refman/5.5/en/connector-net.html
You can find our team blog at http://blogs.oracle.com/MySQLOnWindows.
You can also post questions on our forums at http://forums.mysql.com/.
Enjoy and thanks for the support!
↧