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

                    Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                    Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                    Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020