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. mysql --skip-secure-auth
Forum Update on Monday, May 27th 2025

mysql --skip-secure-auth

Scheduled Pinned Locked Moved Solved Installation and Deployment
qmysql
5 Posts 2 Posters 5.7k Views
  • 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
    Gianmarco
    wrote on last edited by Gianmarco
    #1

    Hello Everyone, i would like to know how i can send to a Remote(not localhost) Db this command

    mysql --skip-secure-auth
    

    due to this error that i get when i connect :

    Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled) QMYSQL: Unable to connect"
    

    I tried to look around but i wasn't able to find anything.

    Any idea?
    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, that option is not handled at all in Qt's MySQL driver so you would have to add it yourself to it. However, I would rather fix the origin of that error rather than dropping the security of a remote connection to a database.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      G 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        AFAIK, that option is not handled at all in Qt's MySQL driver so you would have to add it yourself to it. However, I would rather fix the origin of that error rather than dropping the security of a remote connection to a database.

        G Offline
        G Offline
        Gianmarco
        wrote on last edited by
        #3

        @SGaist Yeah, but i can not access mysql console. i'm trying to connect to a website DB that is owned by an hosting company. and they cant not help me.
        I'm using libmysqlclient.so.18 that should be the last one for the Driver, so...if anyone got an idea would be cool.
        Thanks

        1 Reply Last reply
        0
        • G Offline
          G Offline
          Gianmarco
          wrote on last edited by
          #4

          FIXED following this

          https://dev.mysql.com/doc/refman/5.7/en/account-upgrades.html

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Way better !

            By the way, no need to modify the thread title anymore, just use the "Topic Tool" button to mark the thread as solved :)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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