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:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.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 Files\MySQL\MySQL Server 8.0\bin\mysqld.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

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 Files\MySQL
  2. C:\Program Files (x86)\MySQL
  3. C:\ProgramData\MySQL (your programdata folder is hidden so you have to unhide from c drive->views->options->view ->show hidden files)
    4.C:\Users\hp(your pc name)\AppData\Roaming\MySQL

Step 3. windows+r write regedit.exe enter and follow the path and delete mysql Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\

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

6,2833 gold badges20 silver badges39 bronze badges

answered May 22, 2021 at 20:11

krishna's user avatar

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

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

3373 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 Windows\Manifest\Templates
  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.

roschach's user avatar

roschach

8,40014 gold badges74 silver badges125 bronze badges

answered Dec 19, 2018 at 23:01

Deven Chavda's user avatar

Uninstall all mySql from the machine. It can be simply done from the control panel.
This might not solve the problem completely, so remove the mySql data from your machine. To do this, you need to delete from programdata folder. To access it press windows + r buttons and type %programdata% then press Enter. In there, you should find the mySql folder and delete it.

After completing above steps you completely deleted mySql 😀

You can now reinstall it

OTHER CASE

If this error occurs: installation missing VCRUNTIME140.dll and MSVCP140.dll missing in machine, then install it from this link, then run it again.

😀 Problem solved!

Aymendps's user avatar

Aymendps

1,3464 silver badges20 bronze badges

answered Jun 11 at 16:58

Chaitanya Nalam'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 Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.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 Files\MySQL\MySQL Server 8.0\bin\mysqld.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

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 Files\MySQL
  2. C:\Program Files (x86)\MySQL
  3. C:\ProgramData\MySQL (your programdata folder is hidden so you have to unhide from c drive->views->options->view ->show hidden files)
    4.C:\Users\hp(your pc name)\AppData\Roaming\MySQL

Step 3. windows+r write regedit.exe enter and follow the path and delete mysql Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\

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

6,2833 gold badges20 silver badges39 bronze badges

answered May 22, 2021 at 20:11

krishna's user avatar

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

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

3373 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 Windows\Manifest\Templates
  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.

roschach's user avatar

roschach

8,40014 gold badges74 silver badges125 bronze badges

answered Dec 19, 2018 at 23:01

Deven Chavda's user avatar

Uninstall all mySql from the machine. It can be simply done from the control panel.
This might not solve the problem completely, so remove the mySql data from your machine. To do this, you need to delete from programdata folder. To access it press windows + r buttons and type %programdata% then press Enter. In there, you should find the mySql folder and delete it.

After completing above steps you completely deleted mySql 😀

You can now reinstall it

OTHER CASE

If this error occurs: installation missing VCRUNTIME140.dll and MSVCP140.dll missing in machine, then install it from this link, then run it again.

😀 Problem solved!

Aymendps's user avatar

Aymendps

1,3464 silver badges20 bronze badges

answered Jun 11 at 16:58

Chaitanya Nalam'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

9 ответов

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

Rafael Souza

Поделиться

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

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

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

Abhijay Kumar

Поделиться

Это ошибка в установщике 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

Поделиться

Когда я понижаю 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

Поделиться

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

Abdulwahid

Поделиться

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

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

Deven Chavda

Поделиться

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

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

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

Chandan

Поделиться

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

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

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

"lower_case_table_names=0.0"

в

"lower_case_table_names=0"

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

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

elbee

Поделиться

Ещё вопросы

  • 0Как уничтожить все элементы с помощью вкладок jQuery UI?
  • 0Объект, два выпадающих списка, ng-options и привязка значения
  • 0выбрать все товары из дочерних категорий в родительской категории
  • 1почтальон, возвращающий 404 для конечной точки node.js
  • 0Вызовите PHP с JavaScript
  • 1Как сделать преобразование NaN >> [»] во все элементы Pandas Dataframe?
  • 0Как отобразить кнопки «редактировать», «копировать» и «удалить» в phpMyAdmin?
  • 1Запрет NServiceBus регистрировать мою строку подключения хранилища Azure
  • 0Array push — изменить имя на ключ
  • 0Как я могу позиционировать статический div при нажатии кнопки?
  • 0Полная ширина фона внутри div
  • 0Предоставление доступа нескольким пользователям к состоянию сеансов на AngularJs (JHipster Project)
  • 1Python или bash-скрипт: если паттерн в строках между двумя одинаковыми маркерами, убрать строки и первый маркер
  • 1различать два кода
  • 1Как я могу убедиться, что функция запускается ПОСЛЕ функции, которая вызывает ее, завершена?
  • 1HTTPS-соединения — как управляются пары ключей
  • 0Node.js Чекбокс Итерация
  • 0Исчезновение текста под каскадными изображениями
  • 0Извлечение необработанных аудиоданных из файлов WAV с использованием libsndfile в C ++
  • 1Подсчет уникальных значений по группам в двух столбцах
  • 0Ошибка MySQL в NodeJS: невозможно подключиться как root
  • 1Отображение изображения в режиме просмотра изображений, сделанных камерой в Android
  • 0CSS Counters — Увеличение глубоко вложенных списков
  • 1NotificationCompat.Builder () не принимает идентификатор канала в качестве аргумента
  • 0PHP заполнить выпадающий список с помощью jquery
  • 1Checked list box Проверенные элементы Проверка
  • 0какое из них является лучшим решением $ rootScope. $ emit или $ scope. $ broadcast? [Дубликат]
  • 0Google визуализация карта мира
  • 0Angular ng-repeat для отображения списка всех пользователей с их заметками
  • 1Удалите некоторые значения массива для утверждения (транспортир)
  • 0Как сделать этот PHP, если оператор более простым и коротким?
  • 1Динамическое вычисление SVG Path для полного круга с помощью JavaScript
  • 0Я пытался сделать новостную ленту. Но есть ошибка, когда мышь уходит после наведения
  • 1Эффект масштабирования объектов, когда NaN установлены на -1
  • 1Сериализация ответа xml для модификации с SimpleXML в kotlin
  • 0От клиента было обнаружено потенциально опасное значение Request.Path (:)
  • 0Cron Jobs на GAE с PHP
  • 0joomla — принудительно получить ключевое слово из определенного языка в JText
  • 0Исходя из идеи, MySQLNonTransientConnectionException: не удалось создать соединение с сервером базы данных
  • 0AngularJS Ionicframework бесконечный свиток ПОЛУЧИТЬ ЗАПРОС списка 10 одновременно
  • 1Задача <TEntity> предпочтительный способ сделать хранилище
  • 1JSON должен быть загружен в фоновом режиме?
  • 0Я не получаю точный MySQL формат времени по умолчанию в JavaScript 00:00:00
  • 0Как получить экземпляр выбранного в данный момент li с помощью JQuery
  • 0отредактируйте htaccess, чтобы сделать его нечувствительным к регистру
  • 0Фон раздела div имеет необъяснимые отступы. Почему?
  • 0Поиск алгоритма ближайшего соседа с использованием координат карты Google
  • 0Упростите проверку php массива из формы ввода
  • 0Могу ли я инициализировать объект в списке инициализации другим членом класса?
  • 1Android Studio не может разрешить ресурсы для пользовательских представлений в предварительном просмотре макета

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 Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.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:\Users\Public\Documents\Wondershare\CreatorTemp\ib9E78.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:\Users\Public\Documents\Wondershare\CreatorTemp\ib9E78.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

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,9383 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

3373 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.

roschach's user avatar

roschach

8,09213 gold badges72 silver badges116 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

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Изменение размера изображения внутри тега заголовка
  • 0Как центрировать форму с помощью fieldset внутри div?
  • 0Событие для создания объекта DOM
  • 1Просмотр рендера дополнительных десятичных знаков
  • 1Как смоделировать финальный класс с Mockito 2 на модуле Java в проекте Android?
  • 1EmberJS — Как не конфликтовать с действиями и событиями в компонентах
  • 0jqGrid удалил строку с диалогом подтверждения
  • 1Чтение в строках текста из текстового поля
  • 1Область общей памяти в NDK
  • 1Как искать в JComboBox в таблице напрямую
  • 1Разница между использованием HTTP-запроса GET для URL и локального файла .html?
  • 0SimpleSAML с использованием CakePHP — SimpleSAML_Error_NoState: NOSTATE
  • 0Получение списка видео с YouTube с помощью данных YouTube Api V3 с PHP
  • 1Ошибка памяти при запуске k_cliques_community
  • 1Spring data, mongodb — бессистемная блокировка?
  • 0Есть ли что-то вроде веб-сокета, но не требуется фреймворк, такой как узел?
  • 0html2text странная буферизованная проблема вывода при записи выходного файла
  • 0Access SQL формат даты несовместим
  • 0C ++ операторы присваивания динамических массивов
  • 0Скопируйте конструктор для двусвязного списка, проблема с инициализацией головы
  • 0Можно ли повторить приращение $ index на произвольное число?
  • 0Возникли проблемы при попытке скрыть содержимое с помощью .hide ()
  • 0jquery — привязка события клика и запуск при загрузке страницы
  • 0MySQL строки запроса с определенным интервалом дат
  • 0wxWidgets: размеры и потраченное впустую пространство
  • 0Android NDK — преобразование метода C ++ в Java-метод
  • 0Как получить и опубликовать значения директивы звездного рейтинга в json с помощью ng-resource?
  • 1Android, как закрыть намерение?
  • 1ImportError: невозможно импортировать имя ‘sync’
  • 0Найти расстояние от узла до самого дальнего от него BOOST
  • 1лучший способ провести FFT с помощью ускорения GPU с CUDA
  • 0Закрытие всплывающего окна при нажатии снаружи
  • 1Расчет RMSE для модели пророка в Python
  • 1Языковые ресурсы в отдельном APK?
  • 0AngularJS Dropdown and Textbox Filter
  • 0Как загрузить контент другого сайта с помощью php curl в div на моем сайте
  • 0сдвиньте нижнюю границу слева при наведении
  • 0Синтаксис mysql для INSERT INTO SET
  • 0Отображение определенных данных из базы данных в зависимом поле выбора в Codeigniter
  • 1Почему мой метод рисования вызывается только через раз?
  • 0Применить эффект перехода при загрузке следующей страницы через UI Router
  • 1Пакетное тензорное умножение с numy
  • 1Показать список продуктов в соответствии с арабским алфавитом?
  • 1Выключить кнопку отключения JS, если родитель имеет класс
  • 1Водяной знак в Birt на основе параметра
  • 0Не удается заставить работать производный класс WebDuino — скомпилируйте ошибки с помощью Web_HelloWorld.ino
  • 0Удалить элементы диапазона в векторе в C ++
  • 0PHP не может печатать на сетевой принтер
  • 1Не удается получить IAMBufferNegotiation в моем коде, но GraphStudioNext показывает ALLOCATOR_PROPERTIES
  • 0почему мой код jquery не работает в мобильном браузере

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

На последнем этапе установки MySQLServer (Apply Configurations) я получаю странную ошибку. Я не могу понять. Вот журнал:

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

Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.31...
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.31) initializing of server in progress as process 13960
mysqld: File '.??bin.index' not found (OS errno 2 - No such file or directory)
The designated data directory C:ProgramDataMySQLMySQL Server 8.0Data is unusable. You can remove all files that the server added to it.
Aborting
C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Shutdown complete (mysqld 8.0.31)  MySQL Community Server - GPL.
Process for mysqld, with ID 13960, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.31.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)
` ` ` 
What's wrong here? Please help me 

Yun468, 18 октября 2022 г., 06:57

1

380

1

Ответ:

Решено

вам нужно поставить галочку «Показать дополнительные параметры и параметры ведения журнала», и после этого вы сможете изменить имя файла параметров входа в систему (все они должны быть на английском языке).


Huang, 18 октября 2022 г., 10:36

Интересные вопросы для изучения

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

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

Been all over the place to successfully install the MySQL server. This is the first time I encountered this problem. I would really love to get some help with this one. This the log file.

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 MySQL57 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.
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 5.7.28...
Starting process with command: C:Program Files (x86)MySQLMySQL Server 5.7binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 5.7my.ini" --console --initialize-insecure=on --lower-case-table-names=1...
2020-01-25T18:50:04.922896Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-01-25T18:50:04.922975Z 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.
2020-01-25T18:50:05.176935Z 0 [ERROR] InnoDB: Operating system error number 87 in a file operation.
2020-01-25T18:50:05.177911Z 0 [ERROR] InnoDB: File .ib_logfile101: 'aio write' returned OS error 187. Cannot continue operation
2020-01-25T18:50:05.178160Z 0 [ERROR] InnoDB: Cannot continue operation.
Process for mysqld, with ID 4568, was run successfully and exited with code 3.
Failed to start process for MySQL Server 5.7.28.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)

Thank you very much in advance.

Asked
3 years, 1 month 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

Понравилась статья? Поделить с друзьями:

Интересное по теме:

  • Instagram выдает ошибку при входе
  • Initramfs ошибка kali
  • Instagram undefined ошибка
  • Initializer provided for function ошибка
  • Inst 08104 04 ошибка ман тга

  • Добавить комментарий

    ;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: