Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Interesting Error with MySQL

Discussion in 'Editor & General Support' started by Selcuk, Jan 6, 2010.

  1. Selcuk

    Selcuk

    Joined:
    Oct 8, 2009
    Posts:
    17
    Hi,
    I managed to connect to MySQL server and everything works fine when I use the editor. But when I build my application and run it, I am getting the exception

    "CodePage 1252 not supported"

    how is this possible?
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    are you using a standalone build?

    the webbuild has various things removed


    also in the standalone build, check if the assemblies are still at the right place
     
  3. Selcuk

    Selcuk

    Joined:
    Oct 8, 2009
    Posts:
    17
    Thanks dreamora :)
    It works fine now.
    I just copied i18N*.dll files from unity folder (C:\Program Files\Unity\Editor\Data\Frameworks\Mono.framework) to assets folder and build.
    Also it works for web builds.
     
  4. RodrigoSeVeN

    RodrigoSeVeN

    Joined:
    Jul 10, 2010
    Posts:
    15
    I second this! just got it working in the web player aswell.
    Thanks everybody! :D
     
  5. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    its not like you shouldn't use it anyway

    making wildcard accounts to your database is like putting a fat red neon sign onto the database with an invitation to trash it ...

    assuming it will be used outside a secured closed LAN