mysql5 - Moving MySQL data to another drive -


i want move data in c:\programdata\mysql\mysql server 5.5\data e:\mysql5data

  1. stopped mysql5 service
  2. changed "datadir" value in my.ini file e:/mysql5data
  3. started mysql5 service

i got 1067 process terminated unexpectedly error while starting mysql.

update:

logs

160509 13:18:56 [warning] can't create test file c:\program files\mysql\mysql server 5.5\data\dgnlwebbip01.lower-test 160509 13:18:56 [warning] can't create test file c:\program files\mysql\mysql server 5.5\data\dgnlwebbip01.lower-test 160509 13:18:56 [note] plugin 'federated' disabled. 160509 13:18:56 innodb: innodb memory heap disabled 160509 13:18:56 innodb: mutexes , rw_locks use windows interlocked functions 160509 13:18:56 innodb: compressed tables use zlib 1.2.3 160509 13:18:56 innodb: initializing buffer pool, size = 128.0m 160509 13:18:56 innodb: completed initialization of buffer pool 160509 13:18:56  innodb: operating system error number 5 in file operation. innodb: error means mysqld not have access rights innodb: directory. may have created subdirectory innodb: of same name data file. innodb: file name .\ibdata1 innodb: file operation call: 'create'. innodb: cannot continue operation. 

solution:

murray's comment


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -