Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by johann81220 · Sep 15, 2018 at 05:48 PM · connection.net

Problem with SQL in unity 2018.2

Hi everyone! i'am making a game using MySql. the thing is, i started it in unity 2017.3.1f1 but now i would like tu move it to 2018.2.8f1. My problem now is that in unity 2018.2.8f1 i can't connect my game to my database. i got this error :

 System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> Mono.Security.Interface.TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_FATAL_ERROR
   at Mono.Unity.Debug.CheckAndThrow (Mono.Unity.UnityTls+unitytls_errorstate errorState, Mono.Unity.UnityTls+unitytls_x509verify_result verifyResult, System.String context, Mono.Security.Interface.AlertDescription defaultAlert) [0x00036] in <93cc5a601cf645d2a15a96c4600351ac>:0 
   at Mono.Unity.UnityTlsContext.ProcessHandshake () [0x00075] in <93cc5a601cf645d2a15a96c4600351ac>:0 
   at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status) [0x0003e] in <93cc5a601cf645d2a15a96c4600351ac>:0 
   at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus)
   at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <93cc5a601cf645d2a15a96c4600351ac>:0 
   at Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () [0x000ff] in <93cc5a601cf645d2a15a96c4600351ac>:0 
 --- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <f2e6809acb14476a81f399aeb800f8f2>:0 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <f2e6809acb14476a81f399aeb800f8f2>:0 
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <f2e6809acb14476a81f399aeb800f8f2>:0 
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <f2e6809acb14476a81f399aeb800f8f2>:0 
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <f2e6809acb14476a81f399aeb800f8f2>:0 
   at Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () [0x0008b] in <93cc5a601cf645d2a15a96c4600351ac>:0 
    --- End of inner exception stack trace ---
   at MySql.Data.Common.Ssl.StartSSL (System.IO.Stream& baseStream, System.Text.Encoding encoding, System.String connectionString) [0x00150] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at MySql.Data.MySqlClient.NativeDriver.Open () [0x0029f] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at MySql.Data.MySqlClient.Driver.Open () [0x0000e] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x0004e] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection () [0x00006] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection () [0x0008a] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x0003f] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at MySql.Data.MySqlClient.MySqlPool.GetConnection () [0x0001c] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at MySql.Data.MySqlClient.MySqlConnection.Open () [0x0016d] in <74be5e8f18954f50971400e8a215dc5d>:0 
   at DB_Manager.Connect_BDD () [0x0001a] in C:\Users\Jo\Desktop\Turboplanet\Prototye1\TurboPlanet2018Version\Assets\Scripts\DB_Manager.cs:114 
 UnityEngine.Debug:Log(Object)
 DB_Manager:Connect_BDD() (at Assets/Scripts/DB_Manager.cs:118)
 DB_Manager:Start() (at Assets/Scripts/DB_Manager.cs:64)

i search a few things on google but i found no one with the same issues. So if anyone can help me find a way out it would be nice ! Thanks

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ziron999 · Sep 25, 2018 at 02:27 AM 0
Share

i also have this issue still...

avatar image jpistella · Oct 25, 2018 at 08:33 PM 0
Share

Working on the same issue. If I figure it out I'll let you know.

avatar image Salman_Saleem · Jun 18, 2019 at 07:44 AM 0
Share

Anyone solved the issue ?

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

153 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

.NET 2.0 standalone build 0 Answers

Unity .NET 4.6 framework causing SqlConnection ConnectionString to throw exception. 1 Answer

unity can't connect 0 Answers

Best Way To Setup a Waypoint-based Patrol System? 0 Answers

NFC ACR122U Connection with Unity 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges