Error 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)-- MYSQL Command line connectivity -
i trying run mysql server command line , getting above error on executing mysql -u root -p command
. tried rectify issue following below mentioned logs same error comes again.
log data:
c:\program files\mysql\mysql server 5.5\bin>mysqld -nt --standalone --console
150615 0:30:10 [warning] option 'new': boolean value 't' wasn't recognized. set off. 150615 0:30:10 [note] mysqld (mysqld 5.5.44) starting process 3768 ... 150615 0:30:10 [note] plugin 'federated' disabled. 150615 0:30:10 innodb: innodb memory heap disabled 150615 0:30:10 innodb: mutexes , rw_locks use windows interlocked functions 150615 0:30:10 innodb: compressed tables use zlib 1.2.3 150615 0:30:10 innodb: initializing buffer pool, size = 675.0m 150615 0:30:10 innodb: completed initialization of buffer pool innodb: error: space header page consists of 0 bytes in data file c:\mysql da tafiles\ibdata1 150615 0:30:10 innodb: not open or create data files. 150615 0:30:10 innodb: if tried add new data files, , failed here, 150615 0:30:10 innodb: should edit innodb_data_file_path in my.cnf 150615 0:30:10 innodb: was, , remove new ibdata files innodb c reated 150615 0:30:10 innodb: in failed attempt. innodb wrote files fu ll of 150615 0:30:10 innodb: zeros, did not yet use them in way. caref ul: not 150615 0:30:10 innodb: remove old data files contain precious data! 150615 0:30:10 [error] plugin 'innodb' init function returned error. 150615 0:30:10 [error] plugin 'innodb' registration storage engine failed. 150615 0:30:10 [error] unknown/unsupported storage engine: innodb 150615 0:30:10 [error] aborting 150615 0:30:10 [note] mysqld: shutdown complete
150615 0:30:10 innodb: not open or create data files.
run mysqld
admin user. can use windows command runas
run console admin.
Comments
Post a Comment