所以,这是一个迁移问题。我们有一个在非 GUI 系统上运行的旧 linux 服务器。我将 MySql 文件和文件夹从 Web 服务器中拉出。
我们拥有的新服务器是一台新的 Windows Server Machine,运行在最新的服务器版本上。2013 我相信。
我将 PHP 配置为运行,然后安装了 MySql。我在 MySql 安装中使用了标准设置。
安装后,我试图运行 drupal 安装,MySql 数据库不接受密码。(运行安装没有任何变化)
我之前安装了PHPMyAdmin,所以我进去修改密码,只是尝试更改一些东西,看看它是否触发了一些东西。在编辑 Drupal 安装的帐户时,MySql 警告我无法为用户找到该行...请注意,我通过 MyAdmin 访问信息,所以它在那里。
当我查看用户信息时,它显示它对 drupal 的数据库具有权限。当我查看数据库权限时,看到的是两个用户,而不是我感兴趣的那个。
回到用户列表,我转到我感兴趣的帐户并尝试从该帐户中剥夺权限。MySql 似乎废话了。我相信它崩溃并关闭了。我重新启动了服务器,无法访问任何东西。我什至无法通过控制台访问 mysql。我输入密码并没有得到任何回应。
这是我得到的错误日志响应。
第一组是软件的安装。然后我迁移了数据库。
2013-10-16 13:52:27 664 [Note] Plugin 'FEDERATED' is disabled.
2013-10-16 13:52:27 664 [Warning] option 'innodb-autoextend-increment': unsigned value 67108864 adjusted to 1000
2013-10-16 13:52:27 11f0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2013-10-16 13:52:27 664 [Note] InnoDB: The InnoDB memory heap is disabled
2013-10-16 13:52:27 664 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-10-16 13:52:27 664 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-10-16 13:52:27 664 [Note] InnoDB: Not using CPU crc32 instructions
2013-10-16 13:52:27 664 [Note] InnoDB: Initializing buffer pool, size = 3.0G
2013-10-16 13:52:27 664 [Note] InnoDB: Completed initialization of buffer pool
2013-10-16 13:52:27 664 [Note] InnoDB: Highest supported file format is Barracuda.
2013-10-16 13:52:27 664 [Note] InnoDB: 128 rollback segment(s) are active.
2013-10-16 13:52:27 664 [Note] InnoDB: Waiting for purge to start
2013-10-16 13:52:27 664 [Note] InnoDB: 5.6.14 started; log sequence number 1625977
2013-10-16 13:52:27 664 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 1a7a7d2c-3694-11e3-a6c1-001018e11594.
2013-10-16 13:52:27 664 [Note] Server hostname (bind-address): '*'; port: 3306
2013-10-16 13:52:27 664 [Note] IPv6 is available.
2013-10-16 13:52:27 664 [Note] - '::' resolves to '::';
2013-10-16 13:52:27 664 [Note] Server socket created on IP: '::'.
2013-10-16 13:52:27 664 [Note] Event Scheduler: Loaded 0 events
2013-10-16 13:52:27 664 [Note] C:/Program Files/MySQL/MySQL Server 5.6/bin\mysqld: ready for connections.
Version: '5.6.14-log' socket: '' port: 3306 MySQL Community Server (GPL)
2013-10-17 13:52:20 664 [ERROR] Incorrect definition of table mysql.proc: expected column 'comment' at position 15 to have type text, found type char(64).
这就是重启发生在几周后的地方。它启动并给我留下了这些信息。
2013-10-30 14:41:21 4912 [Note] Plugin 'FEDERATED' is disabled.
2013-10-30 14:41:21 4912 [Warning] option 'innodb-autoextend-increment': unsigned value 67108864 adjusted to 1000
2013-10-30 14:41:21 43a4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2013-10-30 14:41:21 4912 [Note] InnoDB: The InnoDB memory heap is disabled
2013-10-30 14:41:21 4912 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-10-30 14:41:21 4912 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-10-30 14:41:21 4912 [Note] InnoDB: Not using CPU crc32 instructions
2013-10-30 14:41:21 4912 [Note] InnoDB: Initializing buffer pool, size = 3.0G
2013-10-30 14:41:21 4912 [Note] InnoDB: Completed initialization of buffer pool
2013-10-30 14:41:21 4912 [Note] InnoDB: Highest supported file format is Barracuda.
2013-10-30 14:41:21 4912 [Note] InnoDB: The log sequence numbers 1625977 and 1625977 in ibdata files do not match the log sequence number 125876475 in the ib_logfiles!
2013-10-30 14:41:21 4912 [Note] InnoDB: Database was not shutdown normally!
2013-10-30 14:41:21 4912 [Note] InnoDB: Starting crash recovery.
2013-10-30 14:41:21 4912 [Note] InnoDB: Reading tablespace information from the .ibd files...
2013-10-30 14:41:23 4912 [Note] InnoDB: Restoring possible half-written data pages
2013-10-30 14:41:23 4912 [Note] InnoDB: from the doublewrite buffer...
2013-10-30 14:41:23 4912 [Note] InnoDB: 128 rollback segment(s) are active.
2013-10-30 14:41:23 4912 [Note] InnoDB: Waiting for purge to start
2013-10-30 14:41:23 4912 [Note] InnoDB: 5.6.14 started; log sequence number 125876475
2013-10-30 14:41:23 4912 [Note] Server hostname (bind-address): '*'; port: 3306
2013-10-30 14:41:23 4912 [Note] IPv6 is available.
2013-10-30 14:41:23 4912 [Note] - '::' resolves to '::';
2013-10-30 14:41:23 4912 [Note] Server socket created on IP: '::'.
2013-10-30 14:41:23 4912 [Warning] 'db' entry 'safety Safety_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:23 4912 [Warning] 'db' entry 'wordpress WP_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Warning] 'db' entry 'transportation Trans_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Warning] 'db' entry 'mediawiki MW_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Warning] 'db' entry 'arcwordpress Arc_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Warning] 'db' entry 'drupal6 D_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Warning] 'db' entry 'drupal6\_dev D_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Warning] 'db' entry 'crm\_drupal Crm_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Warning] 'db' entry 'crm\_civicrm Crm_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Warning] 'db' entry 'forum Forum_User@localhost' had database in mixed case that has been forced to lowercase because lower_case_table_names is set. It will not be possible to remove this privilege using REVOKE.
2013-10-30 14:41:24 4912 [Note] Event Scheduler: Loaded 0 events
2013-10-30 14:41:24 4912 [Note] C:/Program Files/MySQL/MySQL Server 5.6/bin\mysqld: ready for connections.
Version: '5.6.14-log' socket: '' port: 3306 MySQL Community Server (GPL)
任何想法,将不胜感激。有点不合我意。我已经想念Linux了。