Skip to end of metadataGo to start of metadata
You may wish to install PrestaShop on your local machine, either in order to test it before investing money in a server and domain name, or to customize your store locally before you push your modifications to the PrestaShop installation that you may already have online.
- Could not start MySQL → Try again with the servers running.-3016: Could not export MySQL Users → Contact support-3017: Could not import local dump into remote MySQL server → Check minimum requirements, test again and contact support-3018: Could not export MySQL Database → Contact support-3019.
- Oct 02, 2020 Download MAMP; Install MAMP; Relocate Virtual Hosts; Set Default Web Server; Run the Setup Wizard; Apply and Launch; Download MAMP. Download MAMP (MyApache, MySQL, PHP). MAMP does not have a separate installer for the free version, but we can get around this pothole in the next step. Once you've downloaded MAMP, proceed to install it.
- You should consider changing lowercasetablenames to 1 or 2 111120 21:37:50 Note Plugin 'FEDERATED' is disabled. 111120 21:37:50 InnoDB: The InnoDB memory heap is disabled 111120 21:37:50 InnoDB: Mutexes and rwlocks use GCC atomic builtins 111120 21:37:50 InnoDB: Compressed tables use zlib 1.2.3 111120 21:37:50 InnoDB: Initializing buffer.
- In this video I show you how to fix your MySQL Server when it won't start with MAMP on Windows.FUll MAMP Tutorial:happens ev.
But when i start the MAMP, it is not showing green signal for MySql “Error: Could not connect to MySQL server!”. May be it was already running somewhere. So we need to kill running MySql. Here’s a fix: 1. Open the terminal and type: killall -9 mysqld 3.
Installing any web application locally requires that you first install the adequate environment, namely the Apache web server, the PHP language interpreter, the MySQL database server, and ideally the phpMyAdmin tool. This is known as an AMP: Apache+MySQL+PHP. It exists for many operating systems, which provides another letter for the acronym: WAMP (Windows+Apache+MySQL+PHP), MAMP (Mac OS X+...) and LAMP (Linux+...).
Choosing an AMP package
This would require you to be quite technical; luckily there exist many pre-built packages that you can install easily. It does not prevent you from having to get technical here and there, but they do provide a huge help. Since all of the items packaged are open-source, these installers are most of the time free. Here is a selection of free AMP installers:
- EasyPHP: http://www.easyphp.org/ (Windows)
- MAMP: http://www.mamp.info/ (Mac OS X)
- WampServer: http://www.wampserver.com/en/ (Windows)
- XAMPP: http://www.apachefriends.org/en/xampp.html (Windows, Mac OS X, Linux, Solaris)
Choose the package that you feel the most comfortable with, and launch it.
Checking that everything works
Before going on with this PrestaShop installation tutorial, make sure that all the components of your AMP package do work:
The web server should be up and running. You should be able to access it through your browser, by typing '127.0.0.1' in the address bar.
http://127.0.0.1
is the 'localhost', meaning 'your computer': it is a loopback address which directs the browser to your local web server.
In effect,http://127.0.0.1
andhttp://localhost
are synonymous: you can use one or the other interchangeably, both send you to the root folder of your local web server.Some web servers might not be able to start because their connexion ports (typically, port 80) are already used by another application.
This often happens when Skype is used. To stop Skype from preventing your local web server to run, go into the Skype advanced settings (Tools > Options > Advanced > Connections) and uncheck the 'Use port 80 and 443 as alternatives' option. Restart Skype, and start your local web server again.
- 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. Its location depends on which AMP packaging you chose: it can be found at
http://127.0.0.1/phpmyadmin
(XAMPP, WampServer, MAMP),http://127.0.0.1/mysql
(EasyPHP), or maybe at another location. Check your package's documentation – it might even provide a phpMyAdmin button that would open the correct URL in your browser.
Finding the root folder of the local web server
Once you have checked that the package is correctly installed and that all of its parts are running, you need to find the root folder of your local web server.
That is the local folder where you will place your application's files, and can be compared to the root folder of your online server, only its content is accessed with http://127.0.0.1
.
The actual local location of the folder depends greatly on the AMP package, and can be customized:
- EasyPHP:
C:easyphpwww
- MAMP:
/Applications/MAMP/htdocs/
- WampServer:
C:wampwww
- XAMPP:
C:xampphtdocs
or/Applications/xampp/htdocs
Finding the MySQL user information
Finally, you need to know the root username and password for MySQL, in order to install PrestaShop.
Mamp Web Server
Most packages use the username 'root' with an empty password, including EasyPHP, MAMP, WampServer and XAMPP.
Read your package's documentation.
Final note before the installation tutorial
With all that clear and done, you can follow up on the rest of this Getting Started guide and start installing PrestaShop.
When you install PrestaShop locally, keep in mind that:
- Files are not to be uploaded via an FTP software (such as Filezilla) to a web server: simply move them in the correct local folder, as indicated above.
- You do not have to create a local domain name: PrestaShop is available through the loopback address indicated above, which is either
http://localhost
orhttp://127.0.0.1
. PrestaShop itself is available at this address by adding its folder's name, for instancehttp://localhost/prestashop
orhttp://127.0.0.1/prestashop
if PrestaShop is in the/prestashop/
subfolder of the local root folder. When accessing this address for the first time, you should be automatically redirected to PrestaShop's install, at eitherhttp://localhost/prestashop/install
orhttp://127.0.0.1/prestashop/install
.
Have you read everything? Now follow the regular installation guide, starting directly at the 'Creating a database for your shop' section: Installing PrestaShop.
Я использую Mac OS X 10.6.2 на своем Macbook Pro.
Я могу заставить сервер apache запускаться, но не сервер mysql, как по умолчанию, так и по умолчанию. Когда я пытаюсь перейти на мою стартовую страницу, я получаю сообщение «Ошибка: не удалось подключиться к серверу MySQL!' Вот что в моем журнале ошибок MySQL:
Пара вещей:
Mamp Download Mac
1) Есть несколько разных .cnf-файлов, которые поставляются с MAMP (my-огромный, мой-средний и т.д.) ... как я могу сказать, какой из них на самом деле используется?
2) Я удалил ib_logfile0 и ib_logfile1, как рекомендовано другим постом на serverfault, а затем получил больше ошибок:
А потом я получил это в следующий раз, когда я попытался запустить его:
Извините, что это много информации, но я не хочу ничего упускать. Благодарю.
Это определенно звучит так, как будто у вас запущено много процессов MySQL, и вам просто нужно выйти из всех процессов mysql и затем запустить MySQL. Откройте свой терминал и выдайте:
Подтвердите с помощью:
Если все еще есть запущенные процессы, вам нужно принудительно уничтожить все процессы:
Подтвердите, а затем запустите MySQL через панель управления MAMP, как обычно.
Mamp Mysql Server Not Starting Macbook
У меня возникла похожая проблема, и я заметил, что после перезагрузки компьютера mysql не запускается, когда я выходил из MAMP, а затем пытался запустить его снова, только Apache запускается ...
Mamp Server Download
«Исправление», которое сработало для меня, - это выйти из MAMP, использовать монитор активности, чтобы закрыть все экземпляры «mysqld», а затем перезапустить MAMP.