home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
General Forums
Newcomers Forum
connection failed for user SA
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="breese" data-source="post: 1135895" data-attributes="member: 114299"><p>From what I am seing. the Gentle.config stores the user name and password (Line in RED for my mysql)</p><p>This is also not Hiding the password and as such I changed the real password</p><p></p><p></p><p><span style="font-size: 9px"><?xml version="1.0" encoding="utf-8"?></span></p><p><span style="font-size: 9px"><Gentle.Framework></span></p><p><span style="font-size: 9px"> <!-- See the API documentation for the Gentle.Framework.GentleSettings class for</span></p><p><span style="font-size: 9px"> detailed information on the keys available in the Options section --></span></p><p><span style="font-size: 9px"> <Options></span></p><p><span style="font-size: 9px"> <!-- the default timeout value in seconds for IDbCommand instances created by Gentle --></span></p><p><span style="font-size: 9px"> <CommandTimeout>30</CommandTimeout></span></p><p><span style="font-size: 9px"> <!-- whether to enable support for Gentle-managed concurrency control columns --></span></p><p><span style="font-size: 9px"> <ConcurrencyControl>false</ConcurrencyControl></span></p><p><span style="font-size: 9px"> <!-- options: Attributes or XML (XML currently unused) --></span></p><p><span style="font-size: 9px"> <MasterDefinition>Attributes</MasterDefinition></span></p><p><span style="font-size: 9px"> <Analyzer></span></p><p><span style="font-size: 9px"> <!-- options: None, OnDemand (the default), Full --></span></p><p><span style="font-size: 9px"> <Level>OnDemand</Level></span></p><p><span style="font-size: 9px"> <!-- whether to warn about unmapped columns and other non-fatal errors --></span></p><p><span style="font-size: 9px"> <Silent>false</Silent></span></p><p><span style="font-size: 9px"> </Analyzer></span></p><p><span style="font-size: 9px"> <Cache></span></p><p><span style="font-size: 9px"> <!-- default cache strategy (use only Never or Temporary) --></span></p><p><span style="font-size: 9px"> <DefaultStrategy>Temporary</DefaultStrategy></span></p><p><span style="font-size: 9px"> <CacheStatements>true</CacheStatements></span></p><p><span style="font-size: 9px"> <CacheObjects>true</CacheObjects></span></p><p><span style="font-size: 9px"> <!-- when true Gentle will try to bypass query execution and compose</span></p><p><span style="font-size: 9px"> the result from cached data alone --></span></p><p><span style="font-size: 9px"> <SkipQueryExecution>true</SkipQueryExecution></span></p><p><span style="font-size: 9px"> <!-- the scope within which to ensure uniqing </span></p><p><span style="font-size: 9px"> options: Thread (default), Application or WebSession --></span></p><p><span style="font-size: 9px"> <UniqingScope>Application</UniqingScope></span></p><p><span style="font-size: 9px"> </Cache></span></p><p><span style="font-size: 9px"> <Logging></span></p><p><span style="font-size: 9px"> <!-- This setting controls the lowest log level emitted. See the</span></p><p><span style="font-size: 9px"> Verbosity enum for details on the available values. --></span></p><p><span style="font-size: 9px"> <Verbosity>Warning</Verbosity></span></p><p><span style="font-size: 9px"> <!-- Do not edit this unless you know what you're doing. This setting</span></p><p><span style="font-size: 9px"> controls at what level error conditions are considered fatal. --></span></p><p><span style="font-size: 9px"> <Frailty>Warning</Frailty></span></p><p><span style="font-size: 9px"> <!-- Use values defined in the LogCategories enum to turn logging on/off</span></p><p><span style="font-size: 9px"> for selected categories. The available values include:</span></p><p><span style="font-size: 9px"> All (all categories)</span></p><p><span style="font-size: 9px"> StatementExecutionRead (select statements)</span></p><p><span style="font-size: 9px"> StatementExecutionWrite (insert/update/delete statements)</span></p><p><span style="font-size: 9px"> StatementExecutionOther (any other kind of statement)</span></p><p><span style="font-size: 9px"> StatementExecution (any kind of statement; same as all three groups above)</span></p><p><span style="font-size: 9px"> Cache (cache accesses)</span></p><p><span style="font-size: 9px"> Metadata (metadata updates)</span></p><p><span style="font-size: 9px"> General (everything else) --></span></p><p><span style="font-size: 9px"> <!-- The following sample first disables all categories, then selectively</span></p><p><span style="font-size: 9px"> turns on various subcategories --></span></p><p><span style="font-size: 9px"> <Category name="All" enabled="false" /></span></p><p><span style="font-size: 9px"> <Category name="StatementExecution" enabled="false" /></span></p><p><span style="font-size: 9px"> <Category name="Cache" enabled="false" /></span></p><p><span style="font-size: 9px"> <Category name="Metadata" enabled="false" /></span></p><p><span style="font-size: 9px"> </Logging></span></p><p><span style="font-size: 9px"> </Options></span></p><p><span style="font-size: 9px"> <!-- </span></p><p><span style="font-size: 9px"> <NamespaceProviders></span></p><p><span style="font-size: 9px"> <Namespace namespace="Gentle.First" provider="SQLServer" connectionstring="..." /></span></p><p><span style="font-size: 9px"> <Namespace namespace="Gentle.Second" provider="SQLServer" connectionString="..." /></span></p><p><span style="font-size: 9px"> </NamespaceProviders></span></p><p><span style="font-size: 9px"> --></span></p><p> <span style="font-size: 9px"><strong><span style="color: #ff0000"> <DefaultProvider name="MySQL" connectionString="Server=Bugsbunny;Database=MpTvDb;User ID=breese;Password=PASSWORD;charset=utf8;Connection Timeout=30;" /></span></strong></span></p><p><span style="font-size: 9px"> <!--</span></p><p><span style="font-size: 9px"> <DefaultProvider name="Firebird" connectionString="User=SYSDBA;Password=masterkey;Data Source=TvLibrary.fdb;ServerType=1;Charset=UNICODE_FSS;" /></span></p><p><span style="font-size: 9px"> <DefaultProvider name="Jet" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Code\Gentle.NET\Source\Gentle.Framework.Tests\Database Files\Gentle_MSAccess.mdb;OLE DB Services=-1;" /></span></p><p><span style="font-size: 9px"> <DefaultProvider name="MySQL" connectionString="Server=10.0.0.2;Database=test;User ID=xxx;Password=xxx" /></span></p><p><span style="font-size: 9px"> <DefaultProvider name="PostgreSQL" connectionString="Server=10.0.0.2;Database=Test;User ID=xxx;Password=xxx" /></span></p><p><span style="font-size: 9px"> <DefaultProvider name="Oracle" connectionString="Data Source=kermit.symbiote.sporadicism.com,1521;User ID=gentle;password=xxx" /></span></p><p><span style="font-size: 9px"> <DefaultProvider name="OracleODP" connectionString="Data Source=kermit.symbiote.sporadicism.com,1521;User ID=gentle;password=xxx" /></span></p><p><span style="font-size: 9px"> <DefaultProvider name="SQLite" connectionString="URI=file:c:/Code/Gentle.NET/Source/Gentle.Framework.Tests/Database Files/Gentle_SQLite.db" /></span></p><p><span style="font-size: 9px"> <DefaultProvider name="SQLServer" connectionString="data source=127.0.0.1;initial catalog=Test;user id=xxx;password=xxx;packet size=4096" /></span></p><p><span style="font-size: 9px"> --></span></p><p><span style="font-size: 9px"> <!-- IMPORTANT: You must uncomment ONLY the providers that you will be using. If a provider </span></p><p><span style="font-size: 9px"> is defined below, but Gentle cannot find or load the associated library, an exception</span></p><p><span style="font-size: 9px"> will most likely be raised! --></span></p><p><span style="font-size: 9px"> <Providers></span></p><p><span style="font-size: 9px"> <!-- list known provider assemblies; the assembly .dll suffix is optional --></span></p><p><span style="font-size: 9px"> <!-- Provider name="CE" assembly="Gentle.Provider.CE" /--></span></p><p><span style="font-size: 9px"> <!-- Provider name="Firebird" assembly="Gentle.Provider.Firebird" /--></span></p><p><span style="font-size: 9px"> <!-- Provider name="Jet" assembly="Gentle.Provider.Jet" /--></span></p><p><span style="font-size: 9px"> <Provider name="MySQL" assembly="Gentle.Provider.MySQL.dll" /></span></p><p><span style="font-size: 9px"> <!-- Provider name="Oracle" assembly="Gentle.Provider.Oracle" /--></span></p><p><span style="font-size: 9px"> <!-- Provider name="OracleODP" assembly="Gentle.Provider.OracleODP" /--></span></p><p><span style="font-size: 9px"> <!-- Provider name="PostgreSQL" assembly="Gentle.Provider.PostgreSQL" /--></span></p><p><span style="font-size: 9px"> <!-- Provider name="SQLite" assembly="Gentle.Provider.SQLite" / --></span></p><p><span style="font-size: 9px"> <Provider name="SQLServer" assembly="Gentle.Provider.SQLServer" /></span></p><p><span style="font-size: 9px"> <!-- Provider name="Sybase" assembly="Gentle.Provider.Sybase" / --></span></p><p><span style="font-size: 9px"> <!-- Provider name="SybaseASA" assembly="Gentle.Provider.SybaseASA" / --></span></p><p><span style="font-size: 9px"> </Providers></span></p><p><span style="font-size: 9px"></Gentle.Framework></span></p></blockquote><p></p>
[QUOTE="breese, post: 1135895, member: 114299"] From what I am seing. the Gentle.config stores the user name and password (Line in RED for my mysql) This is also not Hiding the password and as such I changed the real password [SIZE=1]<?xml version="1.0" encoding="utf-8"?> <Gentle.Framework> <!-- See the API documentation for the Gentle.Framework.GentleSettings class for detailed information on the keys available in the Options section --> <Options> <!-- the default timeout value in seconds for IDbCommand instances created by Gentle --> <CommandTimeout>30</CommandTimeout> <!-- whether to enable support for Gentle-managed concurrency control columns --> <ConcurrencyControl>false</ConcurrencyControl> <!-- options: Attributes or XML (XML currently unused) --> <MasterDefinition>Attributes</MasterDefinition> <Analyzer> <!-- options: None, OnDemand (the default), Full --> <Level>OnDemand</Level> <!-- whether to warn about unmapped columns and other non-fatal errors --> <Silent>false</Silent> </Analyzer> <Cache> <!-- default cache strategy (use only Never or Temporary) --> <DefaultStrategy>Temporary</DefaultStrategy> <CacheStatements>true</CacheStatements> <CacheObjects>true</CacheObjects> <!-- when true Gentle will try to bypass query execution and compose the result from cached data alone --> <SkipQueryExecution>true</SkipQueryExecution> <!-- the scope within which to ensure uniqing options: Thread (default), Application or WebSession --> <UniqingScope>Application</UniqingScope> </Cache> <Logging> <!-- This setting controls the lowest log level emitted. See the Verbosity enum for details on the available values. --> <Verbosity>Warning</Verbosity> <!-- Do not edit this unless you know what you're doing. This setting controls at what level error conditions are considered fatal. --> <Frailty>Warning</Frailty> <!-- Use values defined in the LogCategories enum to turn logging on/off for selected categories. The available values include: All (all categories) StatementExecutionRead (select statements) StatementExecutionWrite (insert/update/delete statements) StatementExecutionOther (any other kind of statement) StatementExecution (any kind of statement; same as all three groups above) Cache (cache accesses) Metadata (metadata updates) General (everything else) --> <!-- The following sample first disables all categories, then selectively turns on various subcategories --> <Category name="All" enabled="false" /> <Category name="StatementExecution" enabled="false" /> <Category name="Cache" enabled="false" /> <Category name="Metadata" enabled="false" /> </Logging> </Options> <!-- <NamespaceProviders> <Namespace namespace="Gentle.First" provider="SQLServer" connectionstring="..." /> <Namespace namespace="Gentle.Second" provider="SQLServer" connectionString="..." /> </NamespaceProviders> --> [B][COLOR=#ff0000] <DefaultProvider name="MySQL" connectionString="Server=Bugsbunny;Database=MpTvDb;User ID=breese;Password=PASSWORD;charset=utf8;Connection Timeout=30;" />[/COLOR][/B] <!-- <DefaultProvider name="Firebird" connectionString="User=SYSDBA;Password=masterkey;Data Source=TvLibrary.fdb;ServerType=1;Charset=UNICODE_FSS;" /> <DefaultProvider name="Jet" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Code\Gentle.NET\Source\Gentle.Framework.Tests\Database Files\Gentle_MSAccess.mdb;OLE DB Services=-1;" /> <DefaultProvider name="MySQL" connectionString="Server=10.0.0.2;Database=test;User ID=xxx;Password=xxx" /> <DefaultProvider name="PostgreSQL" connectionString="Server=10.0.0.2;Database=Test;User ID=xxx;Password=xxx" /> <DefaultProvider name="Oracle" connectionString="Data Source=kermit.symbiote.sporadicism.com,1521;User ID=gentle;password=xxx" /> <DefaultProvider name="OracleODP" connectionString="Data Source=kermit.symbiote.sporadicism.com,1521;User ID=gentle;password=xxx" /> <DefaultProvider name="SQLite" connectionString="URI=file:c:/Code/Gentle.NET/Source/Gentle.Framework.Tests/Database Files/Gentle_SQLite.db" /> <DefaultProvider name="SQLServer" connectionString="data source=127.0.0.1;initial catalog=Test;user id=xxx;password=xxx;packet size=4096" /> --> <!-- IMPORTANT: You must uncomment ONLY the providers that you will be using. If a provider is defined below, but Gentle cannot find or load the associated library, an exception will most likely be raised! --> <Providers> <!-- list known provider assemblies; the assembly .dll suffix is optional --> <!-- Provider name="CE" assembly="Gentle.Provider.CE" /--> <!-- Provider name="Firebird" assembly="Gentle.Provider.Firebird" /--> <!-- Provider name="Jet" assembly="Gentle.Provider.Jet" /--> <Provider name="MySQL" assembly="Gentle.Provider.MySQL.dll" /> <!-- Provider name="Oracle" assembly="Gentle.Provider.Oracle" /--> <!-- Provider name="OracleODP" assembly="Gentle.Provider.OracleODP" /--> <!-- Provider name="PostgreSQL" assembly="Gentle.Provider.PostgreSQL" /--> <!-- Provider name="SQLite" assembly="Gentle.Provider.SQLite" / --> <Provider name="SQLServer" assembly="Gentle.Provider.SQLServer" /> <!-- Provider name="Sybase" assembly="Gentle.Provider.Sybase" / --> <!-- Provider name="SybaseASA" assembly="Gentle.Provider.SybaseASA" / --> </Providers> </Gentle.Framework>[/SIZE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
Newcomers Forum
connection failed for user SA
Contact us
RSS
Top
Bottom