MYSQL server not started after installation from source code -


i installed mysql thorugh source code .i followed instruction http://dev.mysql.com/doc/refman/5.5/en/installing-source-distribution.html after installation when trying start mmysql server ,it giving me below error:

[root@sumit bin]# ./mysqld_safe & [1] 25798 [root@sumit bin]# 130904 19:07:29 mysqld_safe logging '/var/log/mysqld.log'.  130904 19:07:29 mysqld_safe starting mysqld daemon databases /var/lib/mysql  130904 19:07:30 mysqld_safe mysqld pid file /var/run/mysqld/mysqld.pid ended 

this mysqld.log file content :

130904 20:02:01 mysqld_safe starting mysqld daemon databases /var/lib/mysql 2013-09-04 20:02:02 0 [warning] timestamp implicit default value deprecated. please use --explicit_defaults_for_timestamp server option (see documentation more details). 2013-09-04 20:02:02 31995 [note] plugin 'federated' disabled. /usr/local/mysql/bin/mysqld: table 'mysql.plugin' doesn't exist 2013-09-04 20:02:02 31995 [error] can't open mysql.plugin table. please run mysql_upgrade create it. 2013-09-04 20:02:02 31995 [note] innodb: innodb memory heap disabled 2013-09-04 20:02:02 31995 [note] innodb: mutexes , rw_locks use gcc atomic builtins 2013-09-04 20:02:02 31995 [note] innodb: compressed tables use zlib 1.2.3 2013-09-04 20:02:02 31995 [note] innodb: using cpu crc32 instructions 2013-09-04 20:02:02 31995 [note] innodb: initializing buffer pool, size = 128.0m 2013-09-04 20:02:02 31995 [note] innodb: completed initialization of buffer pool 2013-09-04 20:02:02 31995 [note] innodb: highest supported file format barracuda. 2013-09-04 20:02:02 31995 [note] innodb: log scan progressed past checkpoint lsn 49463 2013-09-04 20:02:02 31995 [note] innodb: database not shutdown normally! 2013-09-04 20:02:02 31995 [note] innodb: starting crash recovery. 2013-09-04 20:02:02 31995 [note] innodb: reading tablespace information .ibd files... 2013-09-04 20:02:02 31995 [note] innodb: restoring possible half-written data pages 2013-09-04 20:02:02 31995 [note] innodb: doublewrite buffer... innodb: doing recovery: scanned log sequence number 1600607 2013-09-04 20:02:02 31995 [note] innodb: starting apply batch of log records database... innodb: progress in percent: 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 2013-09-04 20:02:03 31995 [note] innodb: 128 rollback segment(s) active. 2013-09-04 20:02:03 31995 [note] innodb: waiting purge start 2013-09-04 20:02:03 31995 [note] innodb: 5.6.13 started; log sequence number 1600607 2013-09-04 20:02:03 31995 [note] server hostname (bind-address): '*'; port: 3306 2013-09-04 20:02:03 31995 [note] ipv6 available. 2013-09-04 20:02:03 31995 [note]   - '::' resolves '::'; 2013-09-04 20:02:03 31995 [note] server socket created on ip: '::'. 2013-09-04 20:02:03 31995 [error] /usr/local/mysql/bin/mysqld: can't create/write file '/var/run/mysqld/mysqld.pid' (errcode: 13 - permission denied) 2013-09-04 20:02:03 31995 [error] can't start server: can't create pid file: permission denied 130904 20:02:03 mysqld_safe mysqld pid file /var/run/mysqld/mysqld.pid ended 


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -