mysql help please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr Pheer
    So Fucking Banned
    • Dec 2002
    • 22083

    #1

    mysql help please

    i got it installed but it wont start... any ideas?
  • woj
    <&(©¿©)&>
    • Jul 2002
    • 47882

    #2
    What error messages do you get? (if any)
    Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
    Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
    Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

    Comment

    • darksoul
      Confirmed User
      • Apr 2002
      • 4997

      #3
      no

      8char
      1337 5y54|)m1n: 157717888
      BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
      Cambooth

      Comment

      • Mr Pheer
        So Fucking Banned
        • Dec 2002
        • 22083

        #4
        /usr/local/bin/mysqld_safe &
        [2] 44131
        [1] Exit 1 /usr/local/bin/safe_mysqld
        sly# touch: /var/db/mysql/sly.splitinfinity.net.err: No such file or directory
        chown: /var/db/mysql/sly.splitinfinity.net.err: No such file or directory
        Starting mysqld daemon with databases from /var/db/mysql
        /usr/local/bin/mysqld_safe: cannot create /var/db/mysql/sly.splitinfinity.net.err: No such file or directory

        Comment

        • darksoul
          Confirmed User
          • Apr 2002
          • 4997

          #5
          chown -R mysql:mysql /var/db/mysql
          1337 5y54|)m1n: 157717888
          BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
          Cambooth

          Comment

          • Mr Pheer
            So Fucking Banned
            • Dec 2002
            • 22083

            #6
            sly# mysql
            ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

            Comment

            • Mr Pheer
              So Fucking Banned
              • Dec 2002
              • 22083

              #7
              mysqladmin: connect to server at 'localhost' failed
              error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
              Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

              Comment

              • pronwatcher
                Registered User
                • Aug 2005
                • 8

                #8
                starting with the wrong permissions?

                I usually do something like /usr/local/bin/safe_mysqld --user=mysql

                Do a "ps -aux |grep mysq" to verify it is running -- then you should be able to do mysql -p to login (if you have a password set for your mysql user)

                Comment

                • Mr Pheer
                  So Fucking Banned
                  • Dec 2002
                  • 22083

                  #9
                  Originally posted by pronwatcher
                  I usually do something like /usr/local/bin/safe_mysqld --user=mysql

                  Do a "ps -aux |grep mysq" to verify it is running -- then you should be able to do mysql -p to login (if you have a password set for your mysql user)
                  sly# /usr/local/bin/mysqld_safe --user=mysql
                  touch: /var/db/mysql/sly.splitinfinity.net.err: No such file or directory
                  chown: /var/db/mysql/sly.splitinfinity.net.err: No such file or directory
                  Starting mysqld daemon with databases from /var/db/mysql
                  /usr/local/bin/mysqld_safe: cannot create /var/db/mysql/sly.splitinfinity.net.err: No such file or directory

                  same thing

                  Comment

                  • Mr Pheer
                    So Fucking Banned
                    • Dec 2002
                    • 22083

                    #10
                    sly# ps -aux |grep mysq
                    root 44208 0.0 0.0 348 232 p0 R+ 3:50PM 0:00.00 grep mysq

                    Comment

                    • OzMan
                      Confirmed User
                      • Sep 2003
                      • 9162

                      #11
                      I usually press the "create a database" button in CPanel

                      ...This site talks about that error and some possible solutions

                      http://dev.mysql.com/doc/mysql/en/ca...to-server.html

                      Comment

                      • Mr Pheer
                        So Fucking Banned
                        • Dec 2002
                        • 22083

                        #12
                        Originally posted by OzMan
                        I usually press the "create a database" button in CPanel

                        ...This site talks about that error and some possible solutions

                        http://dev.mysql.com/doc/mysql/en/ca...to-server.html

                        i have webmin but it cant start mysql either.. cant make a database if it wont start

                        Comment

                        • Mr Pheer
                          So Fucking Banned
                          • Dec 2002
                          • 22083

                          #13
                          screw it... i'm done with it

                          thanks for the help anyway

                          Comment

                          • Hornydog4cooter
                            Confirmed User
                            • Jan 2005
                            • 2859

                            #14
                            sorry man

                            Comment

                            • TexasDreams
                              former Miserable Admin :)
                              • Oct 2003
                              • 4700

                              #15
                              Originally posted by MrPheer
                              i got it installed but it wont start... any ideas?
                              If you just did the install it may be that it failed at some point and didn't create the core database correctly. Have you tried a re-install?
                              ICQ: 168-914-369 >>> sysop [at] TexasDreams [dot] com

                              Comment

                              • Serge Litehead
                                Confirmed User
                                • Dec 2002
                                • 5190

                                #16
                                did you do this:
                                Originally posted by darksoul
                                chown -R mysql:mysql /var/db/mysql

                                http://dev.mysql.com/doc/mysql/en/in...ng-binary.html
                                http://dev.mysql.com/doc/mysql/en/in...ng-source.html

                                Comment

                                Working...