Mamp Mysql Server Not Starting Mac



Я использую Mac OS X 10.6.2 на своем Macbook Pro.

Start MAMP and click the “Start” button in the toolbar. If necessary, you will be asked for your administrator password. The button shows the server status by its color: grey = servers are not running. Feb 10, 2020 In the Start/Stop tab, make sure 'Start Servers' and 'Open WebStart Page' are checked under 'When starting MAMP.' 'Stop servers' should be selected under 'When quitting MAMP.' On the Ports tab, enter 8888 in the text field next to 'Apache Port,' 'Nginx Port,' and 8889 in the text field next to 'MySQL Port.' Nov 17, 2016 The database server should be up and running. MySQL is where all of PrestaShop's data is stored. The AMP package should provide you with a clear indicator whether MySQL is running or not. The phpMyAdmin tool should be accessible. This is the web application that helps you handle data stored in MySQL.

Я могу заставить сервер apache запускаться, но не сервер mysql, как по умолчанию, так и по умолчанию. Когда я пытаюсь перейти на мою стартовую страницу, я получаю сообщение «Ошибка: не удалось подключиться к серверу MySQL!' Вот что в моем журнале ошибок MySQL:

Пара вещей:

1) Есть несколько разных .cnf-файлов, которые поставляются с MAMP (my-огромный, мой-средний и т.д.) ... как я могу сказать, какой из них на самом деле используется?
2) Я удалил ib_logfile0 и ib_logfile1, как рекомендовано другим постом на serverfault, а затем получил больше ошибок:

А потом я получил это в следующий раз, когда я попытался запустить его:

Извините, что это много информации, но я не хочу ничего упускать. Благодарю.

Это определенно звучит так, как будто у вас запущено много процессов MySQL, и вам просто нужно выйти из всех процессов mysql и затем запустить MySQL. Откройте свой терминал и выдайте:

Mamp Download Mac

Подтвердите с помощью:

Если все еще есть запущенные процессы, вам нужно принудительно уничтожить все процессы:

Mamp mysql server not starting mac pro

Подтвердите, а затем запустите MySQL через панель управления MAMP, как обычно.

У меня возникла похожая проблема, и я заметил, что после перезагрузки компьютера mysql не запускается, когда я выходил из MAMP, а затем пытался запустить его снова, только Apache запускается ...

«Исправление», которое сработало для меня, - это выйти из MAMP, использовать монитор активности, чтобы закрыть все экземпляры «mysqld», а затем перезапустить MAMP.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками macosmysqlmamp.

After successfully running XAMPP on my Mac OS X I have upgraded my system to Yosemite my MySql server stopped starting through my XAMPP manager.

After clicking restart all or just Start for MySql database its just going into ‘starting’ and then goes back to ‘stopped’.

Browsing through the internet I’ve stumbled upon the solution that worked for me.
http://stackoverflow.com/questions/21267064/mysql-database-wont-start-in-xampp-manager-osx

Open the terminal and type as per code below (double check path to your ‘XAMPP/xamppfiles/bin/’ folder:

Hope that helps!

Tags:mac os xmysqlmysql stoppedxampp Previous PostNext Post

3 Comments

Gobi BhuvLog in to ReplyDecember 2, 2015

Same problem – am running El capitan — was working fine — but suddenly stopped. On Rebooting, Mysql server will not start — using command via terminal — shows ERROR !

Mamp Mysql Server Not Starting MacValentina

Mamp Server

Log in to Reply

Install Mamp On Mac

December 15, 2015

Mamp Mysql Server Not Starting Macbook Pro

I had the same problem and thank to this solution it works again. Thank you for the help. But now the question: what was the problem that the MySQL database was not running?





Comments are closed.