Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Has anyone had any success connecting to MySQL embedded?
Qt 6.11 is out! See what's new in the release blog

Has anyone had any success connecting to MySQL embedded?

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    galrub
    wrote on last edited by
    #1

    Hello all,

    I'm trying to connect to MySql embedded using QT, but get and error:
    @
    mysql_embedded: Unknown error 1146
    110923 20:54:22 InnoDB: The InnoDB memory heap is disabled
    110923 20:54:22 InnoDB: Mutexes and rw_locks use Windows interlocked functions
    110923 20:54:22 InnoDB: Compressed tables use zlib 1.2.3
    110923 20:54:22 InnoDB: Initializing buffer pool, size = 128.0M
    110923 20:54:22 InnoDB: Completed initialization of buffer pool
    110923 20:54:22 InnoDB: highest supported file format is Barracuda.
    110923 20:54:23 InnoDB: Waiting for the background threads to start
    @

    as far as I can understand I need to tell the QSqlDatabase object to use the my-xxx.ini, or somehow pass to it the configurations.
    any ideas?

    Thansk

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved