1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. GTA Network forum is now in archive mode.

Closed Error while doing MySQL Query

Discussion in 'Solved & Closed' started by lRoberth, Jun 5, 2017.

  1. lRoberth

    lRoberth Member

    Messages:
    13
    Likes Received:
    1
    Joined:
    Apr 10, 2017
    Title:
    Error while doing MySQL Query
    What's wrong?:
    Getting an error while trying to do a MySQL Query after logging in
    What should normally happen?:
    Log in and return the MySQL Data
    How to reproduce the issue:
    .
    Server version:
    0.1.517.602
    Operating System:
    Debian 7 64 bits
    Mono version ($ mono -V):
    5.0.1.1
    Write any additional information (Use spoilers for images):
    Main.cs where error is produced

    DBManager.cs where connection is created

    DBManager.cs where the query is executed

    Console output

    How do i fix this?, the code fails at line 14 in Main.cs when i define the list<tring> for the mysql (at the moment i define it the mysql query runs)​
     
  2. BigJay

    BigJay Well-Known Member Donator Support

    Messages:
    131
    Likes Received:
    29
    Joined:
    Jan 23, 2017
    It will be failing somewhere in your SelectUser method. The best thing to do is to seek advice via google on the specific method of MySQL you're using, or try debugging SelectUser yourself.
     
  3. GabEPL

    GabEPL New Member

    Messages:
    3
    Likes Received:
    0
    Joined:
    Apr 18, 2017
    Change mysql maybe
     

Share This Page