Pages: 12Next
Current Page: 1 of 2
.
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 27, 2023 01:21AM

.



Edited 1 time(s). Last edit at 02/25/2024 03:32AM by Ompatel122004@gmail.com.

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Otomatic (Moderator)
Date: July 27, 2023 08:54AM

The first question is:
- Did you meet the prerequisites BEFORE installing Wampserver?
These include:
- Verify that all VC ++ packages are installed and with the latest versions.
To do this, use the tool:
Checks VC++ packages installed
Do not use a previously loaded tool. Make a new download to make sure you are using the correct version.
To download missing packages, do not rely on Microsoft links, they are not reliable, download packages on http://wampserver.aviatechno.net in section Visual C++ Redistribuable Packages
Do not forget that if you have a 64 bit Windows, you must install both 32 and 64 bit versions of each package.
You must install each package "as an administrator", so right-click the exe file and then run as Administrator.

See https://wampserver.aviatechno.net/
Bottom of the page : Best way to install Visual C++ Redistributable Packages

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
.
Posted by: Ompatel122004@gmail.com (130.156.44.---)
Date: July 27, 2023 08:15PM

.



Edited 1 time(s). Last edit at 02/25/2024 03:34AM by Ompatel122004@gmail.com.

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Otomatic (Moderator)
Date: July 27, 2023 09:17PM

What is the result or:

Right-Click -> Tools -> Check port 80
and the same for port 3306

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (130.156.44.---)
Date: July 27, 2023 10:03PM

***** 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 = 9556
The processus of PID 9556 is 'httpd.exe' Session: Services
The service of PID 9556 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 = 9556
The processus of PID 9556 is 'httpd.exe' Session: Services
The service of PID 9556 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.54 (Win64) PHP/8.0.26 mod_fcgid/2.3.10-dev

--- Do you want to copy the results into Clipboard?
--- Press the Y key to confirm - Press ENTER to continue...


and


***** Test which uses port 3306 *****

===== Tested by command netstat filtered on port 3306 =====

Port 3306 is not found associated with TCP protocol
Port 3306 is not found associated with TCP protocol

--- Do you want to copy the results into Clipboard?
--- Press the Y key to confirm - Press ENTER to continue...


these are the results

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Otomatic (Moderator)
Date: July 28, 2023 09:20AM

The wampapache64 service is started.

The wampmysqld64 service is not started and I don't know why.

Please READ (and answer) BEFORE YOU ASK A QUESTION

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 28, 2023 02:11PM

I have tried multiple times trying to fix this issue with the wampmysql64 and asked a lot of people for help. However, no one can fix this issue and I don't know why. We changed the ports, did the reinstall a few times, tried to make a force directory in the my.ini file, tried installing the mysqld.exe, then initialized it from the command prompt and power shell. Even after all this, I have no clue why it starts and then stops automatically. I even tried using the mamp server, xammp server, but the issue is with the MySQL not running. Are you sure there is nothing else we can try?

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: RiggsFolly (Moderator)
Date: July 28, 2023 02:31PM

Please, please do as requested READ (and answer) BEFORE YOU ASK A QUESTION

There is obviously something odd about your system so we need more background to be able to help with your problem.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 28, 2023 05:35PM

I believe this is all the information you requested:
(Windows 11 Home Version 22H2 64bit)(WampSever3.3.0 64bit) Aestan Tray Menu 3.2.4.9
<Apache versions 2.4.54.2> <PHP versions 8.0.26> <MySQL Versions 8.0.31> <MariaDB Version 10.10.2>
WampServer icon color is Orange.

MySQL Error log:

"
2023-07-28T15:19:09.180790Z 0 [System] [MY-010116] [Server] c:\wamp64\bin\mysql\mysql8.0.31\bin\mysqld.exe (mysqld 8.0.31) starting as process 8864
2023-07-28T15:19:09.253698Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2023-07-28T15:19:09.254562Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2023-07-28T15:19:09.255108Z 0 [ERROR] [MY-010119] [Server] Aborting
2023-07-28T15:19:09.260694Z 0 [System] [MY-010910] [Server] c:\wamp64\bin\mysql\mysql8.0.31\bin\mysqld.exe: Shutdown complete (mysqld 8.0.31) MySQL Community Server - GPL.
"


Also, I can't download the 32-bit wamp server, when I click the link it only provides the 64-bit.

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Otomatic (Moderator)
Date: July 28, 2023 07:41PM

Hi,
To Morrow I'll explain how to create MySQLdata folder because it seems that this folder is corrupted.
I am not at home. I write this on a Smartphone.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 29, 2023 03:23PM

That sounds great. I will be waiting.

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Otomatic (Moderator)
Date: July 29, 2023 04:13PM

Hi,

- 1 - Launch Wampserver even if icon is not green

- 2 - Left-Click -> MySQL -> Service administration -> Stop service

- 2 - Left-Click -> MySQL -> Service administration -> Remove service

- 3 - Open a command window as administrator on the bin folder of mysql8.0.31
Right-Click -> Tools -> Command Windows -> Command Windows MySQL/bin

- 4 - Exit Wampserver
This will not close the command window.

- 5 - In the command window, type :
cd..
rmdir /S /Q data
cd bin
mysqld.exe --initialize-insecure

There should be no error and the data folder has been created.

- 6 - Exit the command window with exit command

- 7 - Launch Wampserver

- 8 - Left-Click -> MySQL -> Service administration -> Install service

- 9 - Left-Click -> MySQL -> Service administration -> Start/Resume

The Wampmanager icon should turn green!

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 29, 2023 04:24PM

As I was doing step 5 and put in mysqld.exe --initialize-insecure

it tells me 'mysqld.exe' is not recognized as an internal or external command,
operable program or batch file.

What should I do

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 29, 2023 04:32PM

Actually, I did get it but this is what I see:

C:\Windows\System32>cd "C:\wamp64\bin\mysql\mysql8.0.31\bin"

C:\wamp64\bin\mysql\mysql8.0.31\bin>cd..

C:\wamp64\bin\mysql\mysql8.0.31>rmdir /S /Q data
The system cannot find the file specified.

C:\wamp64\bin\mysql\mysql8.0.31>cd bin

C:\wamp64\bin\mysql\mysql8.0.31\bin>mysqld.exe --initalize-insecure
2023-07-29T14:31:24.583358Z 0 [System] [MY-010116] [Server] C:\wamp64\bin\mysql\mysql8.0.31\bin\mysqld.exe (mysqld 8.0.31) starting as process 1912
2023-07-29T14:31:24.601452Z 0 [Warning] [MY-010091] [Server] Can't create test file C:\wamp64\bin\mysql\mysql8.0.31\data\mysqld_tmp_file_case_insensitive_test.lower-test
2023-07-29T14:31:24.601526Z 0 [Warning] [MY-010091] [Server] Can't create test file C:\wamp64\bin\mysql\mysql8.0.31\data\mysqld_tmp_file_case_insensitive_test.lower-test
2023-07-29T14:31:24.602183Z 0 [ERROR] [MY-013276] [Server] Failed to set datadir to 'C:\wamp64\bin\mysql\mysql8.0.31\data\' (OS errno: 2 - No such file or directory)
2023-07-29T14:31:24.602971Z 0 [ERROR] [MY-010119] [Server] Aborting
2023-07-29T14:31:24.604231Z 0 [System] [MY-010910] [Server] C:\wamp64\bin\mysql\mysql8.0.31\bin\mysqld.exe: Shutdown complete (mysqld 8.0.31) MySQL Community Server - GPL.

C:\wamp64\bin\mysql\mysql8.0.31\bin>

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Otomatic (Moderator)
Date: July 29, 2023 04:42PM

Try to install another MySQL version, for example:
MySQL 8.0.34 <- This is a link

We'll see if the problem of creating the data file is the same!

Launch Wampserver
Left-Click -> MySQL -> Version -> 8.0.34

Question: Is the disk on which you want to install Wampserver no larger than 2 TB?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: RiggsFolly (Moderator)
Date: July 29, 2023 04:55PM

Hi

I had the same problem, I fixed it by making one simple change to step 5 to manually create the data directory after you have deleted the old one ....

- 5 - In the command window, type :
cd..
rmdir /S /Q data

mkdir data

cd bin
mysqld.exe --initialize-insecure

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 29, 2023 05:01PM

Even with the new version, I get the same response. I have about 256GB total storage on my disk.

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 29, 2023 05:06PM

I did the 5 step plan it seems to work, but after I did all the other steps it didn't turn green. I am going to restart my computer then try the steps one more time

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: RiggsFolly (Moderator)
Date: July 29, 2023 05:17PM

You do appear to have something odd about your system.

You have still not answered the questions you were asked to Yesterday. They can be very helpful to us so please do

READ (and answer) BEFORE YOU ASK A QUESTION

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: wampmysqld64 not working
Posted by: Ompatel122004@gmail.com (---.nwrknj.fios.verizon.net)
Date: July 29, 2023 05:18PM

Yes i tried to do it a few times, it still says Failed to find valid data directory. ] Data Dictionary initialization failed. Aborting

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.