Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mysql can't connect on MacBook
Forum Updated to NodeBB v4.3 + New Features

Mysql can't connect on MacBook

Scheduled Pinned Locked Moved Unsolved General and Desktop
65 Posts 6 Posters 6.7k Views 2 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.
  • SGaistS SGaist

    Use the full path to the executable.

    E Offline
    E Offline
    Eternus
    wrote on last edited by
    #48

    @SGaist have you mean for mysql or what mysql its full path

    JonBJ 1 Reply Last reply
    0
    • E Eternus

      @SGaist have you mean for mysql or what mysql its full path

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #49

      @Eternus
      @SGaist wants you to use the full path to your qmake executable (nothing to do with MySQL) when you run your make command, like:

      <path-to-qmake-in-your-Qt-distribution>/qmake -- MYSQL_PREFIX=/usr/local/mysql
      

      He wants you to do that to make you run the exact right version of qmake which is in the Qt 5.15 installation area. At the moment there is no qmake on your PATH.

      E 1 Reply Last reply
      0
      • JonBJ JonB

        @Eternus
        @SGaist wants you to use the full path to your qmake executable (nothing to do with MySQL) when you run your make command, like:

        <path-to-qmake-in-your-Qt-distribution>/qmake -- MYSQL_PREFIX=/usr/local/mysql
        

        He wants you to do that to make you run the exact right version of qmake which is in the Qt 5.15 installation area. At the moment there is no qmake on your PATH.

        E Offline
        E Offline
        Eternus
        wrote on last edited by
        #50

        @JonB Screenshot 2020-09-01 at 20.55.21.png

        JonBJ 1 Reply Last reply
        0
        • E Eternus

          @JonB Screenshot 2020-09-01 at 20.55.21.png

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #51

          @Eternus
          That is not using the full path to the qmake executable, that is /qmake which does not exist. If you are a developer you need to understand about paths.

          E 1 Reply Last reply
          0
          • JonBJ JonB

            @Eternus
            That is not using the full path to the qmake executable, that is /qmake which does not exist. If you are a developer you need to understand about paths.

            E Offline
            E Offline
            Eternus
            wrote on last edited by
            #52

            @JonB how can I fix ?

            mrjjM 1 Reply Last reply
            0
            • E Eternus

              @JonB how can I fix ?

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #53

              @Eternus
              Hi
              They want you to type the full path for qmake inside the Qt 5.15.0 folder
              so first step is to use the search tool to find out where it is and then use the full path to it
              for the compiling.

              Might be
              /usr/local/opt/qt5
              but it depends on where you actually installed it.

              E 1 Reply Last reply
              0
              • mrjjM mrjj

                @Eternus
                Hi
                They want you to type the full path for qmake inside the Qt 5.15.0 folder
                so first step is to use the search tool to find out where it is and then use the full path to it
                for the compiling.

                Might be
                /usr/local/opt/qt5
                but it depends on where you actually installed it.

                E Offline
                E Offline
                Eternus
                wrote on last edited by Eternus
                #54

                @mrjj
                I don't have there I only find this in qt folder but didnt work... its says me read only file system ..in usr/local I don't have

                /Users/macbook/Qt/5.15.0/Src/qtbase/src/plugins
                and there /Users/macbook/Qt/5.15.0/Src/qtbase/tests/auto/tools/qmake

                but didnt work

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

                  For the version you installed using the Online Installer it's going to be /Users/macbook/Documents/Qt/5.15.0/clang_64/bin/qmake.

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

                  E 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    For the version you installed using the Online Installer it's going to be /Users/macbook/Documents/Qt/5.15.0/clang_64/bin/qmake.

                    E Offline
                    E Offline
                    Eternus
                    wrote on last edited by Eternus
                    #56

                    @SGaist I have same error and in clan I don't have bin..

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

                      Which version of Qt are you using to build your application ?
                      Where did you install it ?
                      How did you install it ?

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

                      E 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Which version of Qt are you using to build your application ?
                        Where did you install it ?
                        How did you install it ?

                        E Offline
                        E Offline
                        Eternus
                        wrote on last edited by
                        #58

                        @SGaist with qt online and 5.15 and ism localed in users/macbook a change path.. with my own where is qt located..

                        SGaistS 1 Reply Last reply
                        0
                        • E Eternus

                          @SGaist with qt online and 5.15 and ism localed in users/macbook a change path.. with my own where is qt located..

                          SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #59

                          @Eternus said in Mysql can't connect on MacBook:

                          a change path.. with my own where is qt located.

                          What do you mean by that ?

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

                          E 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            @Eternus said in Mysql can't connect on MacBook:

                            a change path.. with my own where is qt located.

                            What do you mean by that ?

                            E Offline
                            E Offline
                            Eternus
                            wrote on last edited by Eternus
                            #60

                            @SGaist my path its /Users/MacBook/Qt i changed

                            soo its my path look like this : /Users/macbook/Qt/5.15.0/clang_64/bin/qmake

                            and still didnt work.

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

                              Where exactly did you install Qt on your machine ?

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

                              E 1 Reply Last reply
                              0
                              • SGaistS SGaist

                                Where exactly did you install Qt on your machine ?

                                E Offline
                                E Offline
                                Eternus
                                wrote on last edited by
                                #62

                                @SGaist /Users/macbook/Qt

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

                                  So what exactly did not work ?

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

                                  E 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    So what exactly did not work ?

                                    E Offline
                                    E Offline
                                    Eternus
                                    wrote on last edited by
                                    #64

                                    @SGaist compile mysql look on previous screen have you discord i can show in discord it will be better

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

                                      The last message you showed screams about read-only filesystem so you are either trying to building in a location you have no access to or on a read-only drive.

                                      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