WAMP 3新安装尝试了一切

时间:2016-08-29 18:02:55

标签: wamp wampserver

今天我决定在Windows 10上重新安装WAMP。

在新安装的WAMP图标保持橙色之后出现了什么错误。

我搜索谷歌几个小时尝试,我所能做的一切,没有任何帮助,图标保持橙色。

我检查了mySql错误日志,我得到了这个:

2016-08-29T17:43:19.636578Z 0 [Warning] InnoDB: New log files created, LSN=45790
2016-08-29T17:43:22.277335Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
wampmysqld64: Table 'mysql.plugin' doesn't exist
2016-08-29T17:43:22.449217Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2016-08-29T17:43:22.449217Z 0 [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: 148b018e-6e10-11e6-aca6-a45d36c709dc.
2016-08-29T17:43:22.511719Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2016-08-29T17:43:22.527346Z 0 [Warning] Failed to open optimizer cost constant tables

2016-08-29T17:43:22.527346Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2016-08-29T17:43:22.527346Z 0 [ERROR] Aborting

这是我做的:

我打破了旧的Wamp。

我将wamp目录的名称更改为:wampOld

我检查了我的服务,他们没有mysql或apache

我安装了所有需要的VC包(以管理员身份):

VC Packages

我在Windows上检查过IIS,对我来说没问题: Web管理工具及其下的所有内容都是未经授权的。

我安装了WAMP(以管理员身份)(wampserver3.0.4_x64_apache2.4.18_mysql5.7.11_php5.6.19-7.0.4)

我测试了端口80:

    ***** Test which uses port 80 *****
    ===== Tested by command netstat filtered on port 80 =====
    Test for TCP
    Your port 80 is used by a processus with PID = 4180
    The processus of PID 4180 is 'httpd.exe' Session: Services
    The service of PID 4180 for 'httpd.exe' is 'wampapache64'
    This service is from Wampserver - It is correct

    Test for TCPv6
    Your port 80 is used by a processus with PID = 4180
    The processus of PID 4180 is 'httpd.exe' Session: Services
    The service of PID 4180 for 'httpd.exe' is 'wampapache64'
    This service is from Wampserver - It is correct

    ===== Tested by attempting to open a socket on port 80 =====

    Your port 80 is actually used by :

    Server: Apache/2.4.18 (Win64) PHP/5.6.19

Apache错误日志:

[Mon Aug 29 19:43:18.777165 2016] [auth_digest:notice] [pid 4180:tid 496] AH01757: generating secret for digest authentication ...
[Mon Aug 29 19:43:18.839665 2016] [mpm_winnt:notice] [pid 4180:tid 496] AH00455: Apache/2.4.18 (Win64) PHP/5.6.19 configured -- resuming normal operations
[Mon Aug 29 19:43:18.839665 2016] [mpm_winnt:notice] [pid 4180:tid 496] AH00456: Apache Lounge VC14 Server built: Dec  9 2015 11:13:29
[Mon Aug 29 19:43:18.839665 2016] [core:notice] [pid 4180:tid 496] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.18\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.18'
[Mon Aug 29 19:43:18.870917 2016] [mpm_winnt:notice] [pid 4180:tid 496] AH00418: Parent: Created child process 6408
[Mon Aug 29 19:43:19.480326 2016] [auth_digest:notice] [pid 6408:tid 432] AH01757: generating secret for digest authentication ...
[Mon Aug 29 19:43:19.558450 2016] [mpm_winnt:notice] [pid 6408:tid 432] AH00354: Child: Starting 64 worker threads.

Apache访问日志:

127.0.0.1 - - [29/Aug/2016:19:43:51 +0200] "GET / HTTP/1.1" 200 5145

安装完成后,我的服务如下所示: Services

我的hosts文件中包含以下两个条目: 127.0.0.1 localhost :: 1 localhost

Nada,WAMP保持橙色。

已卸载,并安装了版本32。还是Orange,在mysql.log中得到了这个:

2016-08-29T20:00:38.680630Z 0 [Warning] InnoDB: New log files created, LSN=45790
2016-08-29T20:00:42.132996Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
wampmysqld: Table 'mysql.plugin' doesn't exist
2016-08-29T20:00:42.566098Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2016-08-29T20:00:42.590113Z 0 [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: 440b9e23-6e23-11e6-ba24-a45d36c709dc.
2016-08-29T20:00:42.703794Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2016-08-29T20:00:43.016750Z 0 [Warning] Failed to open optimizer cost constant tables

2016-08-29T20:00:43.020753Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2016-08-29T20:00:43.021754Z 0 [ERROR] Aborting

wampmysqld: Table 'mysql.plugin' doesn't exist
2016-08-29T20:01:02.323383Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2016-08-29T20:01:02.326385Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2016-08-29T20:01:02.328387Z 0 [Warning] Failed to open optimizer cost constant tables

2016-08-29T20:01:02.330389Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2016-08-29T20:01:02.331389Z 0 [ERROR] Aborting

wampmysqld: Table 'mysql.plugin' doesn't exist
2016-08-29T20:01:26.201624Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2016-08-29T20:01:26.203625Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2016-08-29T20:01:26.206627Z 0 [Warning] Failed to open optimizer cost constant tables

2016-08-29T20:01:26.208630Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2016-08-29T20:01:26.210631Z 0 [ERROR] Aborting

我错过了什么????

3 个答案:

答案 0 :(得分:0)

解决方案是:

安装WAMP 2.5

将升级文件从2.5运行到3。

最后,它的工作原理

答案 1 :(得分:0)

我通过删除(或重命名)目录

解决了这个问题
input in terminal = "5 43 8 109 32"

input_list = [5, ' ', 43, ' ', 8, ' ', 109, ' ', 32]

然后执行

extracted_list = [5,43,8,109,32]

C:\wamp64\bin\mysql\mysql5.7.21\data

答案 2 :(得分:0)

无论何时安装WAMP,请将其安装在新文件夹中。
对于Visual C发行版,请从http://wampserver.aviatechno.net下载以下Visual C ++可再发行组件包:

Microsoft VC ++软件包x86(32位)

  • VC 2008 SP1软件包(x86)MD5
  • VC 2008 SP1 ATL软件包(x86)MD5
  • VC 2008 SP1 MFC软件包(x86)MD5
  • VC 2010 SP1软件包(x86)MD5
  • VC 2012 Update 4(x86)MD5
  • VC 2013 Package Up 5(x86)MD5
  • VC 2015-2019(VC16 x86)14.22.27821 MD5

以及:

  • VC 2008 SP1软件包(x64)MD5
  • VC 2008 SP1 ATL软件包(x64)MD5
  • VC 2008 SP1 MFC软件包(x64)MD5
  • VC 2010 SP1软件包(x64)MD5
  • VC 2012 Up 4(x64)MD5
  • VC 2013 Up 5(x64)MD5
  • VC 2015-2019(VC16 x64)14.22.27821 MD5

替代方法是下载以下内容:

Microsoft VC软件包VC2008、2010、2012、2013、2015-2019 zip文件

  • 所有VC可分发软件包(x86)(32位)MD5
  • 所有VC可分发软件包(x86_x64)(32位和64位)MD5