Can't boot Mysql on Centos 7Connecting to a new MySQL instanceMySQL password changed every other day in windows?unable to kill and exit a large insert query properlyWhat should go in my my.cnf fileMySQL Error on Startup: ambiguous option '--log=/var/log/mysqld.log'Cannot connect to mysqlSuddenly mysql/mariadb won't startData lost in MySQL DB when roll back happened after system restartmysql on ec2 linux AMI crashed occasionallyMySql Daemon Failed to Start on CentOS

PhD - Well known professor or well known school?

Soft question: Examples where lack of mathematical rigour cause security breaches?

Thread Pool C++ Implementation

Is the term 'open source' a trademark?

How Often Do Health Insurance Providers Drop Coverage?

Should an arbiter claim draw at a K+R vs K+R endgame?

English word for "product of tinkering"

C++ Arduino IDE receiving garbled `char` from function

Why would future John risk sending back a T-800 to save his younger self?

Using "subway" as name for London Underground?

Someone whose aspirations exceed abilities or means

Arriving at the same result with the opposite hypotheses

This riddle is not to see but to solve

Why was the Sega Genesis marketed as a 16-bit console?

Determining fair price for profitable mobile app business

How is water heavier than petrol, even though its molecular weight is less than petrol?

Should I give professor gift at the beginning of my PhD?

Overlapping String-Blocks

What makes Ada the language of choice for the ISS's safety-critical systems?

Second (easy access) account in case my bank screws up

What makes an item an artifact?

Cycle through MeshStyle directives in ListLinePlot

Why is one of Madera Municipal's runways labelled with only "R" on both sides?

What do abbreviations in movie scripts stand for?



Can't boot Mysql on Centos 7


Connecting to a new MySQL instanceMySQL password changed every other day in windows?unable to kill and exit a large insert query properlyWhat should go in my my.cnf fileMySQL Error on Startup: ambiguous option '--log=/var/log/mysqld.log'Cannot connect to mysqlSuddenly mysql/mariadb won't startData lost in MySQL DB when roll back happened after system restartmysql on ec2 linux AMI crashed occasionallyMySql Daemon Failed to Start on CentOS






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I've installed mysql on Centos 7 (mysql-community-server) as root. The problem is that I can't start the daemon with "service mysqld start", It never return me to prompt and even if I try to use another ssh session the daemon is not up.



This is the output I get with tail "/var/log/mysqld.log":



2015-02-19 02:43:45 15299 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2015-02-19 02:43:45 15299 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-02-19 02:43:45 15299 [Note] InnoDB: The InnoDB memory heap is disabled
2015-02-19 02:43:45 15299 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-02-19 02:43:45 15299 [Note] InnoDB: Memory barrier is not used
2015-02-19 02:43:45 15299 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-02-19 02:43:45 15299 [Note] InnoDB: Using Linux native AIO
2015-02-19 02:43:45 15299 [Note] InnoDB: Using CPU crc32 instructions
2015-02-19 02:43:45 15299 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-02-19 02:43:45 15299 [Note] InnoDB: Completed initialization of buffer pool
2015-02-19 02:43:45 15299 [Note] InnoDB: Highest supported file format is Barracuda.
2015-02-19 02:43:45 15299 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
2015-02-19 02:43:45 15299 [Note] InnoDB: Database was not shutdown normally!
2015-02-19 02:43:45 15299 [Note] InnoDB: Starting crash recovery.
2015-02-19 02:43:45 15299 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-02-19 02:43:45 15299 [Note] InnoDB: Restoring possible half-written data pages
2015-02-19 02:43:45 15299 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1600607
2015-02-19 02:43:45 15299 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
2015-02-19 02:43:45 15299 [Note] InnoDB: 128 rollback segment(s) are active.
2015-02-19 02:43:45 15299 [Note] InnoDB: Waiting for purge to start
2015-02-19 02:43:45 15299 [Note] InnoDB: 5.6.23 started; log sequence number 1600607
2015-02-19 02:43:45 15299 [Note] Server hostname (bind-address): '*'; port: 3306
2015-02-19 02:43:45 15299 [Note] IPv6 is available.
2015-02-19 02:43:45 15299 [Note] - '::' resolves to '::';
2015-02-19 02:43:45 15299 [Note] Server socket created on IP: '::'.
2015-02-19 02:43:45 15299 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
150219 02:43:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended


I've tried to disable SELinux but it doesn't work neither. I don't know what is going on...



I'll really apreciate your help. Thankss



UPDATE: Output of /var/log/messages



Feb 19 01:52:15 localhost systemd: Started Network Manager Script Dispatcher Service.
Feb 19 01:53:51 localhost systemd: mysqld.service operation timed out. Stopping.
Feb 19 01:53:51 localhost systemd: Failed to start MySQL Community Server.
Feb 19 01:53:51 localhost systemd: Unit mysqld.service entered failed state.
Feb 19 01:53:51 localhost systemd: mysqld.service holdoff time over, scheduling restart.
Feb 19 01:53:51 localhost systemd: Stopping MySQL Community Server...
Feb 19 01:53:51 localhost systemd: Starting MySQL Community Server...
Feb 19 01:53:51 localhost mysqld_safe: 150219 01:53:51 mysqld_safe Logging to '/var/log/mysqld.log'.
Feb 19 01:53:51 localhost mysqld_safe: 150219 01:53:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Feb 19 01:53:52 localhost mysqld_safe: 150219 01:53:52 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Feb 19 01:55:57 localhost systemd: Created slice user-0.slice.
Feb 19 01:55:57 localhost systemd: Starting Session 23 of user root.
Feb 19 01:55:57 localhost systemd: Started Session 23 of user root.
Feb 19 01:55:57 localhost systemd-logind: New session 23 of user root.
Feb 19 01:55:57 localhost systemd: Starting Session 24 of user root.
Feb 19 01:55:57 localhost systemd: Started Session 24 of user root.
Feb 19 01:55:57 localhost systemd-logind: New session 24 of user root.









share|improve this question






























    0















    I've installed mysql on Centos 7 (mysql-community-server) as root. The problem is that I can't start the daemon with "service mysqld start", It never return me to prompt and even if I try to use another ssh session the daemon is not up.



    This is the output I get with tail "/var/log/mysqld.log":



    2015-02-19 02:43:45 15299 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
    2015-02-19 02:43:45 15299 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2015-02-19 02:43:45 15299 [Note] InnoDB: The InnoDB memory heap is disabled
    2015-02-19 02:43:45 15299 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2015-02-19 02:43:45 15299 [Note] InnoDB: Memory barrier is not used
    2015-02-19 02:43:45 15299 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2015-02-19 02:43:45 15299 [Note] InnoDB: Using Linux native AIO
    2015-02-19 02:43:45 15299 [Note] InnoDB: Using CPU crc32 instructions
    2015-02-19 02:43:45 15299 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2015-02-19 02:43:45 15299 [Note] InnoDB: Completed initialization of buffer pool
    2015-02-19 02:43:45 15299 [Note] InnoDB: Highest supported file format is Barracuda.
    2015-02-19 02:43:45 15299 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
    2015-02-19 02:43:45 15299 [Note] InnoDB: Database was not shutdown normally!
    2015-02-19 02:43:45 15299 [Note] InnoDB: Starting crash recovery.
    2015-02-19 02:43:45 15299 [Note] InnoDB: Reading tablespace information from the .ibd files...
    2015-02-19 02:43:45 15299 [Note] InnoDB: Restoring possible half-written data pages
    2015-02-19 02:43:45 15299 [Note] InnoDB: from the doublewrite buffer...
    InnoDB: Doing recovery: scanned up to log sequence number 1600607
    2015-02-19 02:43:45 15299 [Note] InnoDB: Starting an apply batch of log records to the database...
    InnoDB: Progress in percent: 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
    InnoDB: Apply batch completed
    2015-02-19 02:43:45 15299 [Note] InnoDB: 128 rollback segment(s) are active.
    2015-02-19 02:43:45 15299 [Note] InnoDB: Waiting for purge to start
    2015-02-19 02:43:45 15299 [Note] InnoDB: 5.6.23 started; log sequence number 1600607
    2015-02-19 02:43:45 15299 [Note] Server hostname (bind-address): '*'; port: 3306
    2015-02-19 02:43:45 15299 [Note] IPv6 is available.
    2015-02-19 02:43:45 15299 [Note] - '::' resolves to '::';
    2015-02-19 02:43:45 15299 [Note] Server socket created on IP: '::'.
    2015-02-19 02:43:45 15299 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
    150219 02:43:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended


    I've tried to disable SELinux but it doesn't work neither. I don't know what is going on...



    I'll really apreciate your help. Thankss



    UPDATE: Output of /var/log/messages



    Feb 19 01:52:15 localhost systemd: Started Network Manager Script Dispatcher Service.
    Feb 19 01:53:51 localhost systemd: mysqld.service operation timed out. Stopping.
    Feb 19 01:53:51 localhost systemd: Failed to start MySQL Community Server.
    Feb 19 01:53:51 localhost systemd: Unit mysqld.service entered failed state.
    Feb 19 01:53:51 localhost systemd: mysqld.service holdoff time over, scheduling restart.
    Feb 19 01:53:51 localhost systemd: Stopping MySQL Community Server...
    Feb 19 01:53:51 localhost systemd: Starting MySQL Community Server...
    Feb 19 01:53:51 localhost mysqld_safe: 150219 01:53:51 mysqld_safe Logging to '/var/log/mysqld.log'.
    Feb 19 01:53:51 localhost mysqld_safe: 150219 01:53:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    Feb 19 01:53:52 localhost mysqld_safe: 150219 01:53:52 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
    Feb 19 01:55:57 localhost systemd: Created slice user-0.slice.
    Feb 19 01:55:57 localhost systemd: Starting Session 23 of user root.
    Feb 19 01:55:57 localhost systemd: Started Session 23 of user root.
    Feb 19 01:55:57 localhost systemd-logind: New session 23 of user root.
    Feb 19 01:55:57 localhost systemd: Starting Session 24 of user root.
    Feb 19 01:55:57 localhost systemd: Started Session 24 of user root.
    Feb 19 01:55:57 localhost systemd-logind: New session 24 of user root.









    share|improve this question


























      0












      0








      0








      I've installed mysql on Centos 7 (mysql-community-server) as root. The problem is that I can't start the daemon with "service mysqld start", It never return me to prompt and even if I try to use another ssh session the daemon is not up.



      This is the output I get with tail "/var/log/mysqld.log":



      2015-02-19 02:43:45 15299 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
      2015-02-19 02:43:45 15299 [Note] InnoDB: Using atomics to ref count buffer pool pages
      2015-02-19 02:43:45 15299 [Note] InnoDB: The InnoDB memory heap is disabled
      2015-02-19 02:43:45 15299 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2015-02-19 02:43:45 15299 [Note] InnoDB: Memory barrier is not used
      2015-02-19 02:43:45 15299 [Note] InnoDB: Compressed tables use zlib 1.2.3
      2015-02-19 02:43:45 15299 [Note] InnoDB: Using Linux native AIO
      2015-02-19 02:43:45 15299 [Note] InnoDB: Using CPU crc32 instructions
      2015-02-19 02:43:45 15299 [Note] InnoDB: Initializing buffer pool, size = 128.0M
      2015-02-19 02:43:45 15299 [Note] InnoDB: Completed initialization of buffer pool
      2015-02-19 02:43:45 15299 [Note] InnoDB: Highest supported file format is Barracuda.
      2015-02-19 02:43:45 15299 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
      2015-02-19 02:43:45 15299 [Note] InnoDB: Database was not shutdown normally!
      2015-02-19 02:43:45 15299 [Note] InnoDB: Starting crash recovery.
      2015-02-19 02:43:45 15299 [Note] InnoDB: Reading tablespace information from the .ibd files...
      2015-02-19 02:43:45 15299 [Note] InnoDB: Restoring possible half-written data pages
      2015-02-19 02:43:45 15299 [Note] InnoDB: from the doublewrite buffer...
      InnoDB: Doing recovery: scanned up to log sequence number 1600607
      2015-02-19 02:43:45 15299 [Note] InnoDB: Starting an apply batch of log records to the database...
      InnoDB: Progress in percent: 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
      InnoDB: Apply batch completed
      2015-02-19 02:43:45 15299 [Note] InnoDB: 128 rollback segment(s) are active.
      2015-02-19 02:43:45 15299 [Note] InnoDB: Waiting for purge to start
      2015-02-19 02:43:45 15299 [Note] InnoDB: 5.6.23 started; log sequence number 1600607
      2015-02-19 02:43:45 15299 [Note] Server hostname (bind-address): '*'; port: 3306
      2015-02-19 02:43:45 15299 [Note] IPv6 is available.
      2015-02-19 02:43:45 15299 [Note] - '::' resolves to '::';
      2015-02-19 02:43:45 15299 [Note] Server socket created on IP: '::'.
      2015-02-19 02:43:45 15299 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
      150219 02:43:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended


      I've tried to disable SELinux but it doesn't work neither. I don't know what is going on...



      I'll really apreciate your help. Thankss



      UPDATE: Output of /var/log/messages



      Feb 19 01:52:15 localhost systemd: Started Network Manager Script Dispatcher Service.
      Feb 19 01:53:51 localhost systemd: mysqld.service operation timed out. Stopping.
      Feb 19 01:53:51 localhost systemd: Failed to start MySQL Community Server.
      Feb 19 01:53:51 localhost systemd: Unit mysqld.service entered failed state.
      Feb 19 01:53:51 localhost systemd: mysqld.service holdoff time over, scheduling restart.
      Feb 19 01:53:51 localhost systemd: Stopping MySQL Community Server...
      Feb 19 01:53:51 localhost systemd: Starting MySQL Community Server...
      Feb 19 01:53:51 localhost mysqld_safe: 150219 01:53:51 mysqld_safe Logging to '/var/log/mysqld.log'.
      Feb 19 01:53:51 localhost mysqld_safe: 150219 01:53:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
      Feb 19 01:53:52 localhost mysqld_safe: 150219 01:53:52 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
      Feb 19 01:55:57 localhost systemd: Created slice user-0.slice.
      Feb 19 01:55:57 localhost systemd: Starting Session 23 of user root.
      Feb 19 01:55:57 localhost systemd: Started Session 23 of user root.
      Feb 19 01:55:57 localhost systemd-logind: New session 23 of user root.
      Feb 19 01:55:57 localhost systemd: Starting Session 24 of user root.
      Feb 19 01:55:57 localhost systemd: Started Session 24 of user root.
      Feb 19 01:55:57 localhost systemd-logind: New session 24 of user root.









      share|improve this question
















      I've installed mysql on Centos 7 (mysql-community-server) as root. The problem is that I can't start the daemon with "service mysqld start", It never return me to prompt and even if I try to use another ssh session the daemon is not up.



      This is the output I get with tail "/var/log/mysqld.log":



      2015-02-19 02:43:45 15299 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
      2015-02-19 02:43:45 15299 [Note] InnoDB: Using atomics to ref count buffer pool pages
      2015-02-19 02:43:45 15299 [Note] InnoDB: The InnoDB memory heap is disabled
      2015-02-19 02:43:45 15299 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2015-02-19 02:43:45 15299 [Note] InnoDB: Memory barrier is not used
      2015-02-19 02:43:45 15299 [Note] InnoDB: Compressed tables use zlib 1.2.3
      2015-02-19 02:43:45 15299 [Note] InnoDB: Using Linux native AIO
      2015-02-19 02:43:45 15299 [Note] InnoDB: Using CPU crc32 instructions
      2015-02-19 02:43:45 15299 [Note] InnoDB: Initializing buffer pool, size = 128.0M
      2015-02-19 02:43:45 15299 [Note] InnoDB: Completed initialization of buffer pool
      2015-02-19 02:43:45 15299 [Note] InnoDB: Highest supported file format is Barracuda.
      2015-02-19 02:43:45 15299 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
      2015-02-19 02:43:45 15299 [Note] InnoDB: Database was not shutdown normally!
      2015-02-19 02:43:45 15299 [Note] InnoDB: Starting crash recovery.
      2015-02-19 02:43:45 15299 [Note] InnoDB: Reading tablespace information from the .ibd files...
      2015-02-19 02:43:45 15299 [Note] InnoDB: Restoring possible half-written data pages
      2015-02-19 02:43:45 15299 [Note] InnoDB: from the doublewrite buffer...
      InnoDB: Doing recovery: scanned up to log sequence number 1600607
      2015-02-19 02:43:45 15299 [Note] InnoDB: Starting an apply batch of log records to the database...
      InnoDB: Progress in percent: 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
      InnoDB: Apply batch completed
      2015-02-19 02:43:45 15299 [Note] InnoDB: 128 rollback segment(s) are active.
      2015-02-19 02:43:45 15299 [Note] InnoDB: Waiting for purge to start
      2015-02-19 02:43:45 15299 [Note] InnoDB: 5.6.23 started; log sequence number 1600607
      2015-02-19 02:43:45 15299 [Note] Server hostname (bind-address): '*'; port: 3306
      2015-02-19 02:43:45 15299 [Note] IPv6 is available.
      2015-02-19 02:43:45 15299 [Note] - '::' resolves to '::';
      2015-02-19 02:43:45 15299 [Note] Server socket created on IP: '::'.
      2015-02-19 02:43:45 15299 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
      150219 02:43:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended


      I've tried to disable SELinux but it doesn't work neither. I don't know what is going on...



      I'll really apreciate your help. Thankss



      UPDATE: Output of /var/log/messages



      Feb 19 01:52:15 localhost systemd: Started Network Manager Script Dispatcher Service.
      Feb 19 01:53:51 localhost systemd: mysqld.service operation timed out. Stopping.
      Feb 19 01:53:51 localhost systemd: Failed to start MySQL Community Server.
      Feb 19 01:53:51 localhost systemd: Unit mysqld.service entered failed state.
      Feb 19 01:53:51 localhost systemd: mysqld.service holdoff time over, scheduling restart.
      Feb 19 01:53:51 localhost systemd: Stopping MySQL Community Server...
      Feb 19 01:53:51 localhost systemd: Starting MySQL Community Server...
      Feb 19 01:53:51 localhost mysqld_safe: 150219 01:53:51 mysqld_safe Logging to '/var/log/mysqld.log'.
      Feb 19 01:53:51 localhost mysqld_safe: 150219 01:53:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
      Feb 19 01:53:52 localhost mysqld_safe: 150219 01:53:52 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
      Feb 19 01:55:57 localhost systemd: Created slice user-0.slice.
      Feb 19 01:55:57 localhost systemd: Starting Session 23 of user root.
      Feb 19 01:55:57 localhost systemd: Started Session 23 of user root.
      Feb 19 01:55:57 localhost systemd-logind: New session 23 of user root.
      Feb 19 01:55:57 localhost systemd: Starting Session 24 of user root.
      Feb 19 01:55:57 localhost systemd: Started Session 24 of user root.
      Feb 19 01:55:57 localhost systemd-logind: New session 24 of user root.






      centos mysql socket daemon centos7






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 19 '15 at 1:53







      Blof

















      asked Feb 18 '15 at 5:03









      BlofBlof

      114




      114




















          1 Answer
          1






          active

          oldest

          votes


















          1














          finally I found the solution:



          I used:



          mysql_install_db --user=mysql -ldata=/var/lib/mysql


          and then



          /usr/bin/mysql_secure_installation (it never worked before)


          And It did the work!






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f669489%2fcant-boot-mysql-on-centos-7%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            finally I found the solution:



            I used:



            mysql_install_db --user=mysql -ldata=/var/lib/mysql


            and then



            /usr/bin/mysql_secure_installation (it never worked before)


            And It did the work!






            share|improve this answer



























              1














              finally I found the solution:



              I used:



              mysql_install_db --user=mysql -ldata=/var/lib/mysql


              and then



              /usr/bin/mysql_secure_installation (it never worked before)


              And It did the work!






              share|improve this answer

























                1












                1








                1







                finally I found the solution:



                I used:



                mysql_install_db --user=mysql -ldata=/var/lib/mysql


                and then



                /usr/bin/mysql_secure_installation (it never worked before)


                And It did the work!






                share|improve this answer













                finally I found the solution:



                I used:



                mysql_install_db --user=mysql -ldata=/var/lib/mysql


                and then



                /usr/bin/mysql_secure_installation (it never worked before)


                And It did the work!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 19 '15 at 2:23









                BlofBlof

                114




                114



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f669489%2fcant-boot-mysql-on-centos-7%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company