Initializing database mysql ошибка

Beginning configuration step: Initializing Database Attempting to run MySQL Server with --initialize-insecure option... Starting process for MySQL Server 8.0.11... Starting process with command: C:
Beginning configuration step: Initializing Database
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.11...
Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 8.0my.ini" --console --initialize-insecure=on...
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-011071] [Server] C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-06-26T08:44:42.036600Z 0 [Note] [MY-010120] [Server] Binlog end
Process for mysqld, with ID 3232, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.11.
Database initialization failed.
Ended configuration step: Initializing Database

I am having this error in log during the installing of MySQL on the application configuration part.

Dheeraj Vepakomma's user avatar

asked Jun 26, 2018 at 8:45

Chain Cross's user avatar

2

Resolved following these steps:
— Rollback installation until initial page and choose remove mysql server
— Uninstall from add/remove programs mysql community installer
— reboot
— install version mysql-installer-web-community-5.7.22.1 and select update when it asks.
— done

answered Jul 21, 2018 at 1:31

Rafael Souza's user avatar

1

The only way to get rid of this error is by allowing MySQL Installer to update when it prompts to do so at the beginning of the installation. Please note that you will get this error if you didn’t allow the installer to update.

Updating lower_case_table_names = 0 in my.ini doesn’t fix this because MySql will re-initialize it to 0.0 everytime before running the scripts.

If you didn’t allow updates, you will need to uninstall all components of MySql and run the installer again and let it update.

answered Jul 8, 2018 at 5:41

Abhijay Kumar's user avatar

First you have to uninstall mysql:

Step 1. control panel->programs and then uninstall whole mysql.

Step 2. delete folder MySQL from the following path.

  1. C:Program FilesMySQL
  2. C:Program Files (x86)MySQL
  3. C:ProgramDataMySQL (your programdata folder is hidden so you have to unhide from c drive->views->options->view ->show hidden files)
    4.C:Usershp(your pc name)AppDataRoamingMySQL

Step 3. windows+r write regedit.exe enter and follow the path and delete mysql ComputerHKEY_LOCAL_MACHINESYSTEMControlSet001Services

Step 4. control panel->administrative tool->services then find mysql copy name then open cmd run as administrative write (sc Delete «mysql name that you copied»)enter.

Now you can install MySQL

J. M. Arnold's user avatar

J. M. Arnold

5,7183 gold badges21 silver badges38 bronze badges

answered May 22, 2021 at 20:11

krishna's user avatar

Update the installer for mysql-installer-web-community-5.7.22.1 file during the installation from the web . I encountered the same problem, after updating the installer it works correctly.

answered Jul 19, 2018 at 10:49

Abdulwahid's user avatar

AbdulwahidAbdulwahid

3372 silver badges14 bronze badges

When I downgrade MySQL from 8.0.11 to 5.7.22, I encountered this error. Spend a lot of time to fix the bug. Finally, I fix this problem by the following steps:

  1. uninstall all the related features with MySql( use Control Panel > Programs and Features)
  2. go to C: drive, make all hidden files visible(view > hidden items), find ProgramData file
  3. delete the MySql file inside hidden ProgramData file manually.
    Make sure all the MySQL files are deleted, reinstall MySQL. It works for me. I successfully installed MySQL 5.7.22 without any problem.

My Guess: This error probably will happen if you are second or third time to install MySql server. It seems like the error happens because the old MySql files are not deleted completely. Usually, we all think that after we uninstall the application, the files are deleted from program files, it is clean, everything was done. However, there still some files hidden from us. We have to delete them by ourselves.

answered Jul 25, 2018 at 21:40

Elena's user avatar

ElenaElena

213 bronze badges

On bug page, last comment states that the latest installer solves this problem.
For me not. The following steps made me a clean install (after get the latest installer):

When it fails on database initialization step just cancel it back to the installer’s main page where you can see installed MySQL server with a reconfigure option.

Now edit the my.ini and set the

"lower_case_table_names=0.0"

to

"lower_case_table_names=0"

Click on reconfigure and now it goes over on this problem.

Hope it helps.

Jithin Scaria's user avatar

answered Jul 4, 2018 at 12:11

elbee's user avatar

I faced the same problem with 1.4.25 installer and resolved that by doing the following steps [without updating the installer]

  1. There is a folder MySQL Installer for WindowsManifestTemplates
  2. In Templates folder there are few text files which are there to be used as a template during my.ini generation. I have commented out the line lower_case_table_names=

Now I execute the configuration process using installer and it executes without any error.Also I add the variable later and restart the server.

answered Jul 24, 2018 at 20:28

Chandan's user avatar

When I installed mysql server, wizard of installation was stooped at the point initializing database (if necessary) for that I did.

  1. remove mysql folder from ‘C:ProgramData’ folder. Note: ProgramData is hidden. You need to make it visible.
  2. Uninstall mysql server if it was in the list of installed programs in control panel.
  3. Download mysql-installer-web-community-8.0.13.0 and install it again.

Francesco Boi's user avatar

Francesco Boi

7,93113 gold badges71 silver badges112 bronze badges

answered Dec 19, 2018 at 23:01

Deven Chavda's user avatar

I had the same problem, tried to change my.ini did’t work, so I uninstalled the SQL server, then I google my operating system + Install MySQL videos (In my case «Install MySQL on Windows 8»), then I installed MySQL 5.6.26 then worked.
I think the newer MySQL doesn’t support certain old operating system.

answered Dec 30, 2022 at 11:01

Kevin's user avatar

KevinKevin

915 bronze badges

1

Beginning configuration step: Initializing Database
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.11...
Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 8.0my.ini" --console --initialize-insecure=on...
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-011071] [Server] C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-06-26T08:44:42.036600Z 0 [Note] [MY-010120] [Server] Binlog end
Process for mysqld, with ID 3232, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.11.
Database initialization failed.
Ended configuration step: Initializing Database

I am having this error in log during the installing of MySQL on the application configuration part.

Dheeraj Vepakomma's user avatar

asked Jun 26, 2018 at 8:45

Chain Cross's user avatar

2

Resolved following these steps:
— Rollback installation until initial page and choose remove mysql server
— Uninstall from add/remove programs mysql community installer
— reboot
— install version mysql-installer-web-community-5.7.22.1 and select update when it asks.
— done

answered Jul 21, 2018 at 1:31

Rafael Souza's user avatar

1

The only way to get rid of this error is by allowing MySQL Installer to update when it prompts to do so at the beginning of the installation. Please note that you will get this error if you didn’t allow the installer to update.

Updating lower_case_table_names = 0 in my.ini doesn’t fix this because MySql will re-initialize it to 0.0 everytime before running the scripts.

If you didn’t allow updates, you will need to uninstall all components of MySql and run the installer again and let it update.

answered Jul 8, 2018 at 5:41

Abhijay Kumar's user avatar

First you have to uninstall mysql:

Step 1. control panel->programs and then uninstall whole mysql.

Step 2. delete folder MySQL from the following path.

  1. C:Program FilesMySQL
  2. C:Program Files (x86)MySQL
  3. C:ProgramDataMySQL (your programdata folder is hidden so you have to unhide from c drive->views->options->view ->show hidden files)
    4.C:Usershp(your pc name)AppDataRoamingMySQL

Step 3. windows+r write regedit.exe enter and follow the path and delete mysql ComputerHKEY_LOCAL_MACHINESYSTEMControlSet001Services

Step 4. control panel->administrative tool->services then find mysql copy name then open cmd run as administrative write (sc Delete «mysql name that you copied»)enter.

Now you can install MySQL

J. M. Arnold's user avatar

J. M. Arnold

5,7183 gold badges21 silver badges38 bronze badges

answered May 22, 2021 at 20:11

krishna's user avatar

Update the installer for mysql-installer-web-community-5.7.22.1 file during the installation from the web . I encountered the same problem, after updating the installer it works correctly.

answered Jul 19, 2018 at 10:49

Abdulwahid's user avatar

AbdulwahidAbdulwahid

3372 silver badges14 bronze badges

When I downgrade MySQL from 8.0.11 to 5.7.22, I encountered this error. Spend a lot of time to fix the bug. Finally, I fix this problem by the following steps:

  1. uninstall all the related features with MySql( use Control Panel > Programs and Features)
  2. go to C: drive, make all hidden files visible(view > hidden items), find ProgramData file
  3. delete the MySql file inside hidden ProgramData file manually.
    Make sure all the MySQL files are deleted, reinstall MySQL. It works for me. I successfully installed MySQL 5.7.22 without any problem.

My Guess: This error probably will happen if you are second or third time to install MySql server. It seems like the error happens because the old MySql files are not deleted completely. Usually, we all think that after we uninstall the application, the files are deleted from program files, it is clean, everything was done. However, there still some files hidden from us. We have to delete them by ourselves.

answered Jul 25, 2018 at 21:40

Elena's user avatar

ElenaElena

213 bronze badges

On bug page, last comment states that the latest installer solves this problem.
For me not. The following steps made me a clean install (after get the latest installer):

When it fails on database initialization step just cancel it back to the installer’s main page where you can see installed MySQL server with a reconfigure option.

Now edit the my.ini and set the

"lower_case_table_names=0.0"

to

"lower_case_table_names=0"

Click on reconfigure and now it goes over on this problem.

Hope it helps.

Jithin Scaria's user avatar

answered Jul 4, 2018 at 12:11

elbee's user avatar

I faced the same problem with 1.4.25 installer and resolved that by doing the following steps [without updating the installer]

  1. There is a folder MySQL Installer for WindowsManifestTemplates
  2. In Templates folder there are few text files which are there to be used as a template during my.ini generation. I have commented out the line lower_case_table_names=

Now I execute the configuration process using installer and it executes without any error.Also I add the variable later and restart the server.

answered Jul 24, 2018 at 20:28

Chandan's user avatar

When I installed mysql server, wizard of installation was stooped at the point initializing database (if necessary) for that I did.

  1. remove mysql folder from ‘C:ProgramData’ folder. Note: ProgramData is hidden. You need to make it visible.
  2. Uninstall mysql server if it was in the list of installed programs in control panel.
  3. Download mysql-installer-web-community-8.0.13.0 and install it again.

Francesco Boi's user avatar

Francesco Boi

7,93113 gold badges71 silver badges112 bronze badges

answered Dec 19, 2018 at 23:01

Deven Chavda's user avatar

I had the same problem, tried to change my.ini did’t work, so I uninstalled the SQL server, then I google my operating system + Install MySQL videos (In my case «Install MySQL on Windows 8»), then I installed MySQL 5.6.26 then worked.
I think the newer MySQL doesn’t support certain old operating system.

answered Dec 30, 2022 at 11:01

Kevin's user avatar

KevinKevin

915 bronze badges

1

Asked
2 years, 11 months ago

Viewed
4k times

I’m trying to install MySQL 8.0.19 on my windows 10. I have an issue when trying to initializing database. It is failed with a message «may take a long time». Below is the log of configuration:

Beginning configuration step: Writing configuration file

Saving my.ini configuration file...
Saved my.ini configuration file.
Ended configuration step: Writing configuration file

Beginning configuration step: Updating Windows Firewall rules

Adding a Windows Firewall rule for MySQL80 on port 3306.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
Ok.


Successfully added the Windows Firewall rule.
Adding a Windows Firewall rule for MySQL80 on port 33060.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 33060" protocol=TCP localport=33060 dir=in action=allow
Ok.


Successfully added the Windows Firewall rule.
Ended configuration step: Updating Windows Firewall rules

Beginning configuration step: Adjusting Windows service

Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
New service added
Ended configuration step: Adjusting Windows service

Beginning configuration step: Initializing database (may take a long time)

Deleting the data directory from a previous (failed) configuration...
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.19...
Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 8.0my.ini" --console --initialize-insecure=on --lower-case-table-names=1...
'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
C:Program FilesMySQLMySQL Server 8.0binmysqld.exe (mysqld 8.0.19) initializing of server in progress as process 12572
Unable to create temporary file; errno: 2
InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
Data Dictionary initialization failed.
The newly created data directory C:ProgramDataMySQLMySQL Server 8.0Data by --initialize is unusable. You can remove it.
Aborting
C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Shutdown complete (mysqld 8.0.19)  MySQL Community Server - GPL.
Process for mysqld, with ID 12572, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.19.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)

anyone can help me with this problem?

asked Feb 12, 2020 at 10:09

Luandre Ezra's user avatar

2

9 ответов

Решено после следующих шагов:
— Откат установки до начальной страницы и удаление сервера mysql
— Удалить из программы установки/удаления программы mysql community installer
— перезагружать
— установите версию mysql-installer-web-community-5.7.22.1 и выберите обновление при запросе.
— сделанный

Rafael Souza
21 июль 2018, в 03:28

Поделиться

Единственный способ избавиться от этой ошибки — это позволить MySQL Installer обновить, когда он предложит сделать это в начале установки. Обратите внимание, что вы получите эту ошибку, если вы не позволили установщику обновиться.

Обновление lower_case_table_names = 0 в my.ini не исправляет это, потому что MySql будет повторно инициализировать его до 0.0 каждый раз перед запуском скриптов.

Если вы не разрешили обновления, вам нужно будет удалить все компоненты MySql и снова запустить установщик и обновить его.

Abhijay Kumar
08 июль 2018, в 07:10

Поделиться

Это ошибка в установщике 8.0.11. Изменения в переменной lower_case_table_names в новой версии. Увидеть:

https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html

Никто не может это исправить. Если вы устанавливаете сервер, configfile пишет перед новым. Каждый раз. Поэтому, если вы исправите это 0.0 до 0 в my.ini, изменения будут перезаписаны.

Кто-то должен сообщить об этой ошибке MySql.

EDIT: я сообщаю об ошибке для оракула: https://bugs.mysql.com/bug.php?id=91539

user6266369
03 июль 2018, в 16:18

Поделиться

Когда я понижаю MySQL с 8.0.11 до 5.7.22, я столкнулся с этой ошибкой. Потратьте много времени, чтобы исправить ошибку. Наконец, я исправляю эту проблему следующими шагами:

  1. удалите все связанные функции с помощью MySql (используйте Панель управления> Программы и компоненты)
  2. перейти на C: диск, сделать все скрытые файлы видимыми (просмотреть> скрытые элементы), найти файл ProgramData
  3. удалите файл MySql внутри скрытого файла ProgramData вручную. Убедитесь, что все файлы MySQL удалены, переустановите MySQL. Меня устраивает. Я успешно установил MySQL 5.7.22 без каких-либо проблем.

My Guess: Вероятно, эта ошибка произойдет, если вы установите второй сервер в MySql второй или третий раз. Похоже, что ошибка происходит, потому что старые файлы MySql не удаляются полностью. Обычно мы все думаем, что после удаления приложения файлы удаляются из файлов программ, все чисто, все сделано. Тем не менее, есть еще некоторые файлы, скрытые от нас. Мы должны удалить их сами.

Elena
25 июль 2018, в 21:50

Поделиться

Обновите установщик для файла mysql-installer-web-community-5.7.22.1 во время установки из Интернета. Я столкнулся с той же проблемой, после обновления программы установки он работает правильно.

Abdulwahid
19 июль 2018, в 12:44

Поделиться

Когда я установил сервер MySQL, мастер установки остановился в точке инициализации базы данных (если необходимо), что я и сделал.

  1. удалите папку mysql из папки «C:ProgramData». Примечание. ProgramData скрыта. Вы должны сделать это видимым.
  2. Удалите сервер mysql, если он был в списке установленных программ на панели управления.
  3. Загрузите mysql-installer-web-community-8.0.13.0 и установите его снова.

Deven Chavda
19 дек. 2018, в 23:46

Поделиться

Я столкнулся с такой же проблемой с установщиком 1.4.25 и решил, что выполнив следующие шаги [без обновления установщика]

  1. Существует папка MySQL Installer для WindowsManifestTemplates
  2. В папке » Шаблоны » имеется несколько текстовых файлов, которые должны использоваться в качестве шаблона во время генерации my.ini. Я прокомментировал строку lower_case_table_names=

Теперь я запускаю процесс настройки с помощью установщика, и он выполняется без ошибок. Также я добавляю эту переменную позже и перезапускаю сервер.

Chandan
24 июль 2018, в 21:58

Поделиться

На странице с ошибкой в последнем комментарии говорится, что последний установщик решает эту проблему. Для меня нет. Следующие шаги сделали меня чистой установкой (после получения последней установки):

Когда это не удается на этапе инициализации базы данных, просто отмените ее обратно на главную страницу установщика, где вы можете увидеть установленный сервер MySQL с параметром перенастройки.

Теперь отредактируйте my.ini и установите

"lower_case_table_names=0.0"

в

"lower_case_table_names=0"

Нажмите на переконфигурирование, и теперь это происходит по этой проблеме.

Надеюсь, поможет.

elbee
04 июль 2018, в 12:29

Поделиться

Ещё вопросы

  • 0Не в состоянии получить доступ к загруженным файлам в контроллере
  • 1JPA / EclipseLink: объединенный запрос WHERE не дает ожидаемого результата
  • 0поиск имени по векторам
  • 0MySQL История результатов запросов?
  • 1Сортировать массив на основе времени и группы
  • 0почему эта угловая директива не обновляется
  • 0Форма PHP не отправляется на следующую страницу
  • 0Как получить свойства браузера с помощью PHP?
  • 0Большое приложение чата Mysql db для хранения сообщений 1 строка на сообщение или добавление всей цепочки к 1 длинному текстовому файлу
  • 1Загрузка изображений или всего сайта из локальной папки «assets» с помощью веб-просмотра
  • 1Функция лесов для winforms или wpf-приложения
  • 1Как запрограммировать проект для предотвращения DDoS-атаки
  • 1C # для отправки почты с помощью Outlook
  • 1Объединение двух списков диктов в Python, когда некоторые диктанты являются дубликатами
  • 0Как получить скрипт для вставки всего пользовательского ввода в C ++
  • 1Как вытащить строки из массива, адаптированного списка для кликаемого элемента списка
  • 0Как добавить предложение where в псевдоним
  • 0Обновление параметров функции onblur из textarea
  • 0Переадресация нагрузки nginx 404
  • 0Автоматически открывать всплывающее окно лайтбокса при открытии страницы
  • 1Ошибка типа потока. Тип объекта несовместим со строкой
  • 0Центр выравнивания ссылок в Navbar?
  • 1Java timer.cancel () не останавливая таймер
  • 1Ошибка неверного формата JSON при чтении в .txt файлах
  • 1Состояние многопоточности Java
  • 0Форматирование добавленного текста с использованием JavaScript
  • 0Как выполнить событие нажатия одной кнопкой, чтобы выбрать другой DIV
  • 0ActiveRecord NoDatabaseError при попытке подключиться к экземпляру AWS MySQL
  • 0Ошибка компиляции внешнего интерфейса Simulink
  • 1Как использовать несколько обратных вызовов при зацикливании данных
  • 1Когда мы используем тип ссылки и тип объекта [дубликата]
  • 0Mysql update auto count по количеству обновлений строк
  • 1Google Dashboard — chartRangeFilter, как узнать, когда перемещаются элементы управления ползунком, а затем остановить
  • 0JQuery Ajax успеха не будет стрелять вместо того, чтобы завершить работу события
  • 0ng-таблица не работает должным образом при использовании json
  • 0Как отсортировать элементы на основе целочисленных значений в элементах?
  • 1Почему concurrent.futures.ThreadPoolExecutor (). Submit не возвращается немедленно?
  • 1C # Windows Forms для смешивания VS2013
  • 1Нарисуйте вид с рисунком
  • 0Метод загрузки сетки DHTMLX не загружает данные из файла php
  • 0Плагин проверки Jquery, выберите проверку значения
  • 1Невозможно просмотреть карту на эмуляторе Android
  • 0MYSQL ОБНОВЛЕНИЕ РАЗМЕРА ТАБЛИЦЫ
  • 1Java GUI Запись в текстовой области
  • 0Обновите и выберите в одном запросе. Ошибка синтаксиса SQL в Scala
  • 0Почему мой фон кнопки обрезается в Firefox, а не в Google Chrome?
  • 1Spring MVC и редирект по POST отправляет файл назначения по URL
  • 1Построить мультииндексированный фрейм данных из фреймов данных
  • 1Как отправить файл данных pandas с помощью метода POST и получить его в Hug / другой среде REST API? pickle.loads не удается распаковать после отправки
  • 0Только Internet Explorer выдает ошибку: «document.getElementById (…)» является нулевым или не является объектом
Beginning configuration step: Initializing Database
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.11...
Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file = "C:ProgramDataMySQLMySQL Server 8.0my.ini" --console --initialize-insecure=on...
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-011071] [Server] C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'
2018-06-26T08:44:42.036600Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-06-26T08:44:42.036600Z 0 [Note] [MY-010120] [Server] Binlog end
Process for mysqld, with ID 3232, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.11.
Database initialization failed.
Ended configuration step: Initializing Database

У меня есть эта ошибка в журнале во время установки MySQL в части конфигурации приложения.


Ответы
10

Это ошибка установщика 8.0.11.
В новой версии есть изменения в переменной lower_case_table_names. Видеть:

Https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html

Никто не может это исправить. Если вы устанавливаете Сервер, конфигурационный файл записывается перед новым. Каждый раз. Поэтому, если вы исправите это 0.0 на 0 в my.ini, изменения будут перезаписаны.

Кто-то должен сообщить об этой ошибке в MySql.

Обновлено:
Я сообщил об ошибке в oracle:
https://bugs.mysql.com/bug.php?id=91539

На странице с ошибкой в ​​последнем комментарии говорится, что последняя версия установщика решает эту проблему.
Для меня нет. Следующие шаги позволили мне выполнить чистую установку (после получения последней версии установщика):

В случае сбоя на шаге инициализация базы данных просто отмените его, вернувшись на главную страницу установщика, где вы можете увидеть установлен сервер MySQL с опцией перенастройки.

Теперь отредактируйте my.ini и установите

«lower_case_table_names=0.0»

К

"lower_case_table_names=0"

Нажмите «перенастроить», и теперь он переходит к этой проблеме.

Надеюсь, поможет.

Единственный способ избавиться от этой ошибки — разрешить установщику MySQL обновиться, когда он предложит сделать это в начале установки. Обратите внимание, что вы получите эту ошибку, если не разрешили программе установки обновиться.

Обновление lower_case_table_names = 0 в my.ini не исправляет этого, потому что MySql будет повторно инициализировать его до 0.0 каждый раз перед запуском скриптов.

Если вы не разрешили обновления, вам нужно будет удалить все компоненты MySql, снова запустить установщик и дать ему возможность обновиться.

Обновите установщик для файла MySQL-установщик-веб-сообщество-5.7.22.1 во время установки из Интернета. Я столкнулся с такой же проблемой, после обновления установщика он работает корректно.

Решено, выполнив следующие действия:
— Откатить установку до начальной страницы и выбрать удалить mysql server
— Удаление из программы добавления / удаления программ mysql community installer
— перезагрузка
— установить версии MySQL-установщик-веб-сообщество-5.7.22.1 и выберите обновление, когда он спросит.
— Выполнено

Я столкнулся с той же проблемой с установщиком 1.4.25 и решил ее, выполнив следующие шаги [без обновления установщика]

  1. Есть папка Установщик MySQL для Windows Manifest Templates
  2. В папке Шаблоны есть несколько текстовых файлов, которые можно использовать в качестве шаблона при генерации my.ini. Я закомментировал строку lower_case_table_names=

Теперь я выполняю процесс настройки с помощью установщика, и он выполняется без ошибок. Также я добавляю переменную позже и перезапускаю сервер.

Как ошибка, описанная в https://bugs.mysql.com/bug.php?id=91476, обновление установщика MySQL до версии 1.4.26.0 и переустановка сервера MySQL решат проблему.

Когда я понизил версию MySQL с 8.0.11 до 5.7.22, я столкнулся с этой ошибкой. Потратьте много времени на исправление ошибки. Наконец, я исправляю эту проблему, выполнив следующие действия:

  1. удалите все связанные функции с помощью MySql (используйте Панель управления> Программы и компоненты)
  2. перейдите на диск C:, сделайте все скрытые файлы видимыми (просмотр> скрытые элементы), найдите файл ProgramData
  3. удалите файл MySql внутри скрытого файла ProgramData вручную.
    Убедитесь, что все файлы MySQL удалены, переустановите MySQL. Меня устраивает. Я успешно установил MySQL 5.7.22 без каких-либо проблем.

Моя догадка: эта ошибка, вероятно, произойдет, если вы второй или третий раз устанавливаете сервер MySql. Похоже, что ошибка возникает из-за того, что старые файлы MySql не удаляются полностью. Обычно все мы думаем, что после удаления приложения файлы из программных файлов удаляются, оно чистое, все было сделано. Однако некоторые файлы все еще скрыты от нас. Мы должны сами их удалить.

Когда я установил сервер mysql, мастер установки остановился в точке инициализации базы данных (если необходимо) для этого я сделал.

  1. удалите папку mysql из папки C: ProgramData. Примечание: ProgramData скрыт. Вам нужно сделать это видимым.
  2. Удалите сервер mysql, если он был в списке установленных программ в панели управления.
  3. Загрузите mysql-installer-web-community-8.0.13.0 и установите его снова.

Сначала вам нужно удалить mysql:

Панель управления Шаг 1.-> программы, а затем удалите весь mysql.

Шаг 2. удалить папку MySQL по следующему пути.

  1. C: Program Files MySQL
  2. C: Program Files (x86) MySQL
  3. C: ProgramData MySQL (ваша папка программных данных скрыта, поэтому вам нужно отобразить ее с диска c-> views-> options-> view-> показать скрытые файлы)
    4. C: Users hp (имя вашего компьютера) AppData Roaming MySQL

Шаг 3. windows + r написать regedit.exe введите и следуйте по пути и удалите mysql Computer HKEY_LOCAL_MACHINE SYSTEM ControlSet001 Services

Панель управления Шаг 4.-> административный инструмент-> службы, затем найдите имя копии mysql, затем откройте cmd, запустите как административную запись (sc Удалите «имя mysql, которое вы скопировали») введите.

Теперь вы можете установить MySQL

Другие вопросы по теме

hi,

i try to install MySQl Server but an error appear during the configurations at this step «Initializing Database».b

this is the log:

Beginning configuration step: Stopping Server [if necessary]
Ended configuration step: Stopping Server [if necessary]

Beginning configuration step: Writing configuration file
Ended configuration step: Writing configuration file

Beginning configuration step: Updating firewall
Attempting to create firewall rule with command: netsh.exe  firewall delete portopening protocol=TCP port=3306 profile=ALL
Adding firewall rule for MySQL57 on port 3309.
Attempting to create firewall rule with command: netsh.exe  firewall add portopening protocol=TCP port=3309 profile=ALL name=MySQL57 mode=ENABLE scope=ALL
Successfully added firewall rule.
Ended configuration step: Updating firewall

Beginning configuration step: Adjusting Windows service [if necessary]
Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
New service added
Ended configuration step: Adjusting Windows service [if necessary]

Beginning configuration step: Initializing Database [if necessary]
Deleting the data directory from a previous (failed) configuration...
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 5.7.21...
Starting process with command: C:Program FilesMySQLMySQL Server 5.7binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 5.7my.ini" --console --initialize-insecure=on...
2019-12-27T11:53:44.894282Z 0 [Warning] option 'read_buffer_size': unsigned value 0 adjusted to 8192
2019-12-27T11:53:44.894326Z 0 [Warning] option 'read_rnd_buffer_size': unsigned value 0 adjusted to 1
2019-12-27T11:53:44.894358Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-12-27T11:53:44.894366Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
mysqld: File 'C:UsersPublicDocumentsWondershareCreatorTempib9E78.tmp' not found (Errcode: 13 - Permission denied)
2019-12-27T11:53:44.902762Z 0 [ERROR] InnoDB: Unable to create temporary file; errno: 13
2019-12-27T11:53:44.903251Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2019-12-27T11:53:44.903343Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-12-27T11:53:44.903439Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-12-27T11:53:44.903516Z 0 [ERROR] Failed to initialize builtin plugins.
2019-12-27T11:53:44.903597Z 0 [ERROR] Aborting
Process for mysqld, with ID 17160, was started successfully and exited with code 1.
Database initialization failed.
Ended configuration step: Initializing Database [if necessary]

What I have tried:

i uninstalled it & restart the computer also i deleted all MySQL files in the application data and program files then i tried to install it again but the same error appear.


Quote:

i try to install MySQl Server but an error appear during the configurations at this step «Initializing Database».

You should try to ask their support service.
Chances are that they know better than us.

File 'C:UsersPublicDocumentsWondershareCreatorTempib9E78.tmp' not found (Errcode: 13 - Permission denied)

There is the issue.

If I were confronted to this problem, I would try to install MySql using genuine original channel, and avoid using some sort of app installer (namely: wondershare) which may install God-knows-what onto my system:
MySql Community Downloads[^]

I changed my computer name from Chinese to English and it worked!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject,
20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8
+1 (416) 849-8900

Понравилась статья? Поделить с друзьями:
  • Initializing connection detecting device error failed to access device libusb error 12
  • Initializesecuritycontext failed unknown error 0x80092013 ets 2 mp
  • Initializesecuritycontext error 8009030e
  • Initializesecuritycontext error 80090308
  • Initializer string for array of chars is too long ошибка