Register for your free account! | Forgot your password?

You last visited: Today at 17:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Mysql error

Discussion on Mysql error within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Mysql error

Any ideas why I'd get this error? It's a Mysql error message.

Code:
System.ArgumentException: Keyword not supported.
Parameter name: integrated security
denominator is offline  
Old 05/19/2024, 21:08   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by denominator View Post
Any ideas why I'd get this error? It's a Mysql error message.

Code:
System.ArgumentException: Keyword not supported.
Parameter name: integrated security
Integrated security? Isn't that a Microsoft SQL connection string param?
Spirited is offline  
Old 05/19/2024, 21:55   #3
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Quote:
Originally Posted by Spirited View Post
Integrated security? Isn't that a Microsoft SQL connection string param?
Correct but I'm trying to even find that reference in the source as all I am able to find is Persist Security Info=True;

Full error message is
Code:
[Sun, 19 May 2024 20:01:36 GMT] System.ArgumentException: Keyword not supported.
Parameter name: integrated security
   at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ValidateKeyword(String keyword)
   at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.set_Item(String keyword, Object value)
   at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(String value)
   at MySql.Data.MySqlClient.MySqlConnection.set_ConnectionString(String value)
   at ConQuerSquad.Database.DataHolder.get_MySqlConnection() in D:\6711 Alinaser\Source 6711 3D\7Conquer Source\Database\DataHolderTable.cs:line 32
   at ConQuerSquad.Database.MySqlReader..ctor(MySqlCommand command) in D:\6711 Alinaser\Source 6711 3D\7Conquer Source\Database\MySql\MySqlReader.cs:line 40
   at ConQuerSquad.Server.Run() in D:\6711 Alinaser\Source 6711 3D\7Conquer Source\Server.cs:line 1047
   at ConQuerSquad.Program.Main(String[] args) in D:\6711 Alinaser\Source 6711 3D\7Conquer Source\Program.cs:line 26
System.ArgumentException: Keyword not supported.
Parameter name: integrated security
   at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ValidateKeyword(String keyword)
   at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.set_Item(String keyword, Object value)
   at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(String value)
   at MySql.Data.MySqlClient.MySqlConnection.set_ConnectionString(String value)
   at ConQuerSquad.Database.DataHolder.get_MySqlConnection() in D:\6711 Alinaser\Source 6711 3D\7Conquer Source\Database\DataHolderTable.cs:line 32
   at ConQuerSquad.Database.MySqlReader..ctor(MySqlCommand command) in D:\6711 Alinaser\Source 6711 3D\7Conquer Source\Database\MySql\MySqlReader.cs:line 40
   at ConQuerSquad.Server.Run() in D:\6711 Alinaser\Source 6711 3D\7Conquer Source\Server.cs:line 1047
   at ConQuerSquad.Program.Main(String[] args) in D:\6711 Alinaser\Source 6711 3D\7Conquer Source\Program.cs:line 26
Line 32 is as follows MYSQLCONNECTION conn = new MYSQLCONNECTION
denominator is offline  
Old 05/19/2024, 23:46   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Wow, I had no idea MySQL even supported Windows authentication.


Well, it looks like in the MySQL version of the connection string, it's one word - not two.
Spirited is offline  
Old 05/19/2024, 23:58   #5
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Quote:
Originally Posted by Spirited View Post
Wow, I had no idea MySQL even supported Windows authentication.


Well, it looks like in the MySQL version of the connection string, it's one word - not two.
Regardless I still don't see Integrated security or Integratedsecurity in the source?
denominator is offline  
Old 05/20/2024, 00:15   #6
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by denominator View Post
Regardless I still don't see Integrated security or Integratedsecurity in the source?
I'd assume it's in a configuration file.
Spirited is offline  
Old 05/20/2024, 01:21   #7
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Code:
<?xml version="1.0"?>
<configuration>
  <configSections>
    <section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/>
  </configSections>
  <connectionStrings>
    <add name="Conquer_Server" connectionString="Server=localhost;Port=3306;Database=cq;Uid=root;Password=mypassword;Persist Security Info=True;Pooling=true; Min Pool Size = 32;  Max Pool Size = 300;" providerName="MySql.Data.MySqlClient"/>
  </connectionStrings>
  <SubSonicService defaultProvider="Conquer_Server">
    <providers>
      <clear/>
      <add name="Conquer_Server" type="SubSonic.MySqlDataProvider, SubSonic" connectionStringName="Conquer_Server" generatedNamespace="Conquer.Database"/>
    </providers>
  </SubSonicService>
  <runtime>
    <disableStackOverflowProbing enabled="true"/>
    <legacyUnhandledExceptionPolicy enabled="true"/>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="SubSonic" publicKeyToken="EADB47849839A332" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.2.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="MySql.Data" publicKeyToken="C5687FC88969C44D" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-6.3.6.0" newVersion="6.3.6.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <appSettings>
    <add key="ClientSettingsProvider.ServiceUri" value=""/>
  </appSettings>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
      </providers>
    </membership>
    <roleManager enabled="true" defaultProvider="ClientRoleProvider">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
      </providers>
    </roleManager>
  </system.web>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
</configuration>
About the only form of config that I can find, error has been fixed thanks to a good friend
denominator is offline  
Reply


Similar Threads Similar Threads
Mysql funktioniert nicht.. service mysql status mysql does not exist in /etc/rc.d
07/09/2015 - Metin2 Private Server - 8 Replies
Hey, mein Mysql Server funktíoniert von jetzt auf gleich nicht mehr.. Kam aus dem Freibad und alles war down.. Wenn ich den Mysql Server starten will sagt er mir: " service mysql status mysql does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d) " Und wenn ich meinen Metin Server starte "cant connect to 127.0.0.1" weil der Mysql Server down ist..
[ERROR] Mysql can't connect to local Mysql server through socket
10/08/2011 - Metin2 Private Server - 3 Replies
Hallo Liebe Com, Undzwar habe ich ein Problem mit Mysql. Als ich Mysql installiert habe konnte ich Problemlos drauf connecten,auch mit navicat.Aber als ich die Serverfiles (2011er) installiert habe und rebootet habe ging aufeinmal mysql nichtmehr.Wenn ich mysql -p eingebe steht dann da: Wenn ich den Startbefehl eingebe steht da: Was kann das sein? Und es passiert immer nur nach der Serverfiles installation. Ich habe den Server schon 3x resetten lassen und es passierte immer das...
[ERROR] Mysql can't connect to local Mysql server through socket
11/06/2010 - Metin2 Private Server - 5 Replies
I just recently tried to configure a DNS server for MT2.. It came up with this error ERROR: 2002 (HY000): Can't connect to local Mysql server through socket '/tmp/mysql.sock' (2) Do I need to do a fresh installation of FBSD? :S Thanks.
[Help] Wamp error or mysql error
09/27/2009 - EO PServer Hosting - 1 Replies
Notice: Undefined variable: myaccount in C:\wamp\www\pages\register.php on line 17 Warning: mysql_select_db() : Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\wamp\www\pages\register.php on line 17 Warning: mysql_select_db() : Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\wamp\www\pages\register.php on line 17 Warning: mysql_select_db() : A link to the server could not be established in C:\wamp\www\pages\register.php on line 17 Warning:...



All times are GMT +1. The time now is 17:11.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.