mysqld_safe --skip-grant-tables无法在IBM i中启动(AS400 / iseries)

时间:2015-04-02 18:43:17

标签: mysql ibm-midrange privileges

我正在尝试重置授予权限(我删除了root权限)。

关闭mysql守护进程后,我尝试使用以下命令重新启动安全模式:mysqld_safe --skip-grant-tables

我收到此错误&尝试重新启动后,默认端口未侦听:

 150402 13:40:27 mysqld_safe Logging to '/usr/local/mysqldata/TDIDEV2.T***C.COM.err'.              
 150402 13:40:29 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysqldata              
 150402 13:40:30 mysqld_safe mysqld from pid file /usr/local/mysqldata/TDIDEV2.T***C.COM.pid ended 

错误文件:

 ñõðôðò@ñõzðñzñó@”¨¢˜“„m¢†…@⣙£‰•‡@”¨¢˜“„@„…”–•@¦‰£ˆ@„£‚¢…¢@†™–”@a¤¢™a“–ƒ“a”¨¢˜“„£%ñõðôðò@ñõzðñzñó@ºæ™•‰•‡»@â…££‰•‡@“–¦…™mƒ¢…m£‚“…m•”…¢~ò@‚…ƒ¤¢…@†‰“…@¢¨¢£…”@†–™@a¤¢™a“–ƒ“a”¨¢˜“„£a@‰¢@ƒ¢…@‰•¢…•¢‰£‰¥…%ñõðôðò@ñõzðñzñó@ºæ™•‰•‡»@Ö•…@ƒ•@–•“¨@¤¢…@£ˆ…@``¤¢…™@¢¦‰£ƒˆ@‰†@™¤••‰•‡@¢@™––£%%150402 15:01:13 [Note] Plugin 'FEDERATED' is disabled.
150402 15:01:13  InnoDB: Initializing buffer pool, size = 8.0M
150402 15:01:13  InnoDB: Completed initialization of buffer pool
InnoDB: Error: pthread_create returned 11
ñõðôðò@ñõzðñzñô@”¨¢˜“„m¢†…@”¨¢˜“„@†™–”@—‰„@†‰“…@a¤¢™a“–ƒ“a”¨¢˜“„£aãÄÉÄÅåòKãÉãÓÅÄÁãÁÉÕÃKÃÖÔK—‰„@…•„…„%

1 个答案:

答案 0 :(得分:0)

pthread_create 11表示内存不足。你也改变了/usr/local/mysql/bin/my.cnf吗? innodb_buffer_pool_size的8.0M似乎非常低,特别是对于IBM i。我的设定为100M。