Search Unity

Question HoloLens MySQL Connection

Discussion in 'AR' started by patemaexists0, Mar 18, 2022.

  1. patemaexists0

    patemaexists0

    Joined:
    Mar 18, 2022
    Posts:
    1
    I am developing a HoloLens application which gets real-time data from a MySQL database and displays it to the user. For this I imported MySql.Data from "MySQL\Connector NET 8.0\Assemblies\v4.5.2" and created a script that connects to the database and another one which queries every few seconds.

    When I run the application in the editor it works correctly and I can see through debug logs that it sends and receives data. However, when I build and debug in the HoloLens device, it does not work - it stops while connecting to the database.

    I was told the error might be because the MySql.Data I imported does not work for UWP applications or the implementation is different in some way. I could I solve this?
     
    naweya likes this.
  2. HanishaPatel

    HanishaPatel

    Joined:
    Feb 23, 2023
    Posts:
    1
    Hi patemaexists0 I am facing the same issue. Could you help me if you found a solution to the problem?
     
  3. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    199
    I think you may have more success asking about this on Microsoft's HoloLens forums.
     
  4. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062