PhpMyAdmin выдает ошибку #2002, как решить эту проблему?
Здравствуйте. Не могу запустить веб-сервер. Перенес денвер на другой комп (asus vivotab 8). При старте веб-сервер не индицирует никаких ошибок. Однако PhpMyAdmin при запуске выдает ошибку:
----------------
#2002
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.
/----------------
брандмауэр у меня отключен
скайп не установлен
Попробовал установить еще один денвер с нуля (естественно, поедварительно остановил старый). При первом запуске все работает. Однако после первого перезапуска также появляется ошибка #3002phpMhAdmin.
На многих ресурсах юзеры советуют выкинуть денвер ибо убог и стар.
Решил попробовать OpenServer. Однако он вообще не запустился, выдвав при старте:
-----------------
-Не удалось запустить MySQL-5.5
-Сбой запуска!
/----------------
Помогите плз!
Где искать причину? Что еще можно попробовать сделать доя решения проблемы?
Возможно, MySQL не стартует из-за того, что порт занят. Скайп по-умолчанию использует те же самые порты (их можно отключить в настройках скайпа).
Логи точно подскажут что не так.
Используйте Опенсервер, отказывайтесь от Денвера — он устарел.
151227 0:40:54 [Note] c:\openserver\modules\database\MySQL-5.5\bin\mysqld.exe (mysqld 5.5.45) starting as process 1500 ...
151227 0:40:54 [Note] Plugin 'FEDERATED' is disabled.
151227 0:40:54 InnoDB: The InnoDB memory heap is disabled
151227 0:40:54 InnoDB: Mutexes and rw_locks use Windows interlocked functions
151227 0:40:54 InnoDB: Compressed tables use zlib 1.2.3
151227 0:40:54 InnoDB: Initializing buffer pool, size = 20.0M
151227 0:40:54 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file c:\openserver\userdata\MySQL-5.5\ibdata1
151227 0:40:54 InnoDB: Could not open or create data files.
151227 0:40:54 InnoDB: If you tried to add new data files, and it failed here,
151227 0:40:54 InnoDB: you should now edit innodb_data_file_path in my.cnf back
151227 0:40:54 InnoDB: to what it was, and remove the new ibdata files InnoDB created
151227 0:40:54 InnoDB: in this failed attempt. InnoDB only wrote those files full of
151227 0:40:54 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
151227 0:40:54 InnoDB: remove old data files which contain your precious data!
151227 0:40:54 [ERROR] Plugin 'InnoDB' init function returned error.
151227 0:40:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151227 0:40:54 [ERROR] Unknown/unsupported storage engine: InnoDB
151227 0:40:54 [ERROR] Aborting
151228 4:12:48 [Note] Plugin 'FEDERATED' is disabled.
151228 4:12:48 InnoDB: The InnoDB memory heap is disabled
151228 4:12:48 InnoDB: Mutexes and rw_locks use Windows interlocked functions
151228 4:12:48 InnoDB: Compressed tables use zlib 1.2.3
151228 4:12:48 InnoDB: Initializing buffer pool, size = 128.0M
151228 4:12:48 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
151228 4:12:48 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
151228 4:12:49 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
151228 4:12:49 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
151228 4:12:50 InnoDB: Waiting for the background threads to start
151228 4:12:51 InnoDB: 1.1.8 started; log sequence number 0
151228 4:12:51 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
151228 4:12:51 [Note] - '127.0.0.1' resolves to '127.0.0.1';
151228 4:12:51 [Note] Server socket created on IP: '127.0.0.1'.
151228 4:13:43 [Note] Plugin 'FEDERATED' is disabled.
151228 4:13:43 InnoDB: The InnoDB memory heap is disabled
151228 4:13:43 InnoDB: Mutexes and rw_locks use Windows interlocked functions
151228 4:13:43 InnoDB: Compressed tables use zlib 1.2.3
151228 4:13:43 InnoDB: Initializing buffer pool, size = 128.0M
151228 4:13:43 InnoDB: Completed initialization of buffer pool
151228 4:13:43 InnoDB: highest supported file format is Barracuda.
151228 4:13:43 InnoDB: Operating system error number 87 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: dev.mysql.com/doc/refman/5.5/en/operating-system-e...
InnoDB: File name .\ib_logfile0
InnoDB: File operation call: 'aio read'.
InnoDB: Cannot continue operation.
Удалось запустить денвер!
решение:
put line in my.ini (mysql config file, [mysqld] section)
innodb_flush_method=normal
( https://bugs.mysql.com/bug.php?id=28120 )