Results 1 to 8 of 8

Thread: MySQL driver not loaded on omap3530 evm

  1. #1
    Join Date
    Mar 2011
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default MySQL driver not loaded on omap3530 evm

    Hi all,

    I made an application with QT that connects to a MySQL database on my Ubuntu host machine then I cross-compiled it to make it run on the omap3530 evm that I connected to my host machine via ethernet interface.

    The problem is that when I run my application on the evm I get the error "MySQL driver not loaded" !!

    Any body can help me with this?

    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver not loaded on omap3530 evm

    Are the qmysql plugin and libmysql installed on your device?
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Mar 2011
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver not loaded on omap3530 evm

    I will check for this.. but I don't think they're installed on the omap3530 evm, any idea about how to install them?

  4. #4
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver not loaded on omap3530 evm

    Qt plugins must be installed in $QTDIR/plugin subdirectories.
    The QtSql plugins in $QTDIR/plugin/sqldrivers.
    The libmysql.so must be in yout $PATH or in the directory where your app is installed.
    A camel can go 14 days without drink,
    I can't!!!

  5. #5
    Join Date
    Mar 2011
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver not loaded on omap3530 evm

    The omap3530 evm is an evaluation board based on the arm cortex 8 architecture and running the linux embedded 2.6 kernel.. how can I get QT installed on it?
    sorry but I'm a newbie to all this :-/

  6. #6
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver not loaded on omap3530 evm

    Sorry, I don't know your board but from your first post I thinked that you have Qt already installed on It.
    A camel can go 14 days without drink,
    I can't!!!

  7. #7
    Join Date
    Mar 2011
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver not loaded on omap3530 evm

    I have QT installed on my host machine running under ubuntu, the application works fine on my host machine, the problem exists when I run the application on the board after cross-compiling it for the arm architecture !!

  8. #8
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver not loaded on omap3530 evm

    I understand this.
    Can you open a telnet/ssh session on your board?

    Check where your app is installed and launch the ldd command "ldd <appname>".
    You can see if Qt is installed and where?

    The message "MySQL driver not loaded" is a Qt message so I think you have Qt on your board.
    A camel can go 14 days without drink,
    I can't!!!

Similar Threads

  1. MySQL driver , I have, it still not loaded
    By bigkoma in forum Qt Programming
    Replies: 14
    Last Post: 30th January 2011, 10:38
  2. MySQL Driver not loaded on PC without Qt
    By KTvsPeacock in forum Installation and Deployment
    Replies: 39
    Last Post: 20th September 2010, 21:37
  3. Sql Driver: MYSQL not loaded
    By stilgar in forum Qt Programming
    Replies: 2
    Last Post: 15th June 2010, 10:35
  4. MySQL driver not loaded
    By hami in forum Installation and Deployment
    Replies: 1
    Last Post: 12th May 2009, 19:54
  5. MySql Driver not loaded
    By eekhoorn12 in forum Installation and Deployment
    Replies: 13
    Last Post: 18th June 2007, 13:57

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.