I have MAMP installed on my Mac Book Pro OS 10.6.8. The open start page on my MAMP is grayed out now. The Apache server button is green. The MySQL server button is red.
At one time I could access phpmyadmin. I have my php files in htdocs folder of MAMP that I can access in localhost:8888/filename.php. I want to create another database and table but I can't access phpmyadmin. I even downloaded phpmyadmin to my desktop but I don't know how to open it. Any suggestions
On the latest version of MAMP (4.1.1), the default option in the settings was set to "PHP 7.1.1". After I set the default option to 7.0.15, the PHPmyAdmin tools were no longer grayed and worked fine.
I often get MAMP giving me the red light for MySQL.
Every time I fixed it by quitting every instance of the mysqld process.
Check in Activity Monitor for multiple instances of that process running - if there are, then that is your problem. Quit them all, and restart MAMP.
Activity monitor can be found in Applications > Utilities > Activity Monitor.app. - Search for mysqld in the search box in the top right of activity monitor, and if there are multiple instances running, quit them all.
If not, try quitting the process anyway and restart MAMP.
Update: Easier way to perform this:
$ killall mysqld
From terminal.
I had the same or similar issue where PHPMyAdmin was greyed out after installing MAMP 3.5. I checked the PHP version and it was set to 5.2, so I just bumped it up to 5.6 and the my PHPmyAdmin icon became active.
Hope that helps.
I encountered this issue after migrating my MAMP installation from one machine to another. The problem occurred due to permission issues on the MAMP directory.
To grant permission:
Locate the MAMP directory in Finder
Ctrl-click > Get Info
Under Sharing & Permissions, if your username is not visible, click + and select your username
Ensure Privilege shows Read & Write
Click Apply to enclosed items from the settings icon
I had to go to the Mamp website
and download the latest version then reinstall it to get things working again. This had the advantage of also giving me the cloud options and upgrading MySql but But you do have to remember your default directory and preferred ports if you want to use the ones that you had before. I hope this helps?
The only way I was able to fix this was to reinstall MAMP Pro.
Related
So I installed mysql server through the command line on ubuntu. But a few days later I installed xampp which includes mysql aswell. I had some problems accessing mysql and phpmyadmin. Turns out the problem was that the previous mysql I had installed would start up and occupy the port that the xampp mysql was trying to access. After killing the process and relaunching xampp I had no more problems. The thing is I would like to uninstall the previous mysql server I installed and only work with the one xampp provides, specially to avoid this from happening again after I restart my PC. Is it safe to uninstall and purge it from the command line? Will the uninstall affect in any way the mysql of xampp? And how can I tell between the two?
I do notice that there is a mysql folder at /etc/mysql with its config file my.cnf. And then there is another mysql folder at /opt/lampp/mysql with only a readme.txt and a folder called scripts which contains a ctl.sh file. But under /opt/lampp/etc I can also find a different my.cnf file. Should I assume that an uninstall or purge command from the terminal will leave the mysql I use of xampp intact? Is it safe to follow any uninstall tutorial?
And finally, if someone can explain this to me I would like to know. Why did this problem arise after I turned off my computer and booted it up again? I was working with xampp and able to access phpmyadmin without any problems. So, how come that when I started the computer today, xampp was unable to launch mysql because the previous mysql was an active process? Does mysql launches itself automatically on boot? Any answer will be deeply appreciated, thank you.
I am totally new in the web development, I am using Mac OSX. and I am using XAMPP version 5.6.32. I just want to follow along the tutorial, but the I am stuck at the very first step.
I have tried to tap the 'Start All' button, but it is not running, MySQL Database, ProFTPD and Apache Web Server always stop.
when I open phpMyAdmin, it is said
what should I do ? I have no idea. Thanks in advance
Try updating XAMPP to the newest version (reinstall)... If it still doesn't work check what the Application log tab on the right says.
Using the latest Xampp version with PHP 7
[cmd.exe]
The application was unable to start correctly (0xc000142).
Click OK to
close the application
I get a message that the application cannot start when I click the shell button in XAMPP control panel.
I reinstalled XAMPP but it didn't work.
I Updated my environment tables to mysql/bin so I can globally use MYSQL.
I can open the xampp_shell.bat and I will probably do that for now.
Well, I know this will sound like a dumb solution but it works for me. Click on the shell button many times until the command prompt window opens.
Maybe Win10 (build 1703) could be the cause.
Quick Fix: set compatibility of xamp-control file to Windows 8 and run as administrator.
Im using OpenSIS version 5.2. I am trying to install it but after step 2 it just shows a blank box, I cannot proceed to step 3. I have installed this successfully in my other computer but in this one I cannot. They have the same apache, mysql, and PHP version. What should I do?
Thanks in advance.
i hope im not too late. I had the same issue when installing openSis. The third page just loaded blank with no errors. Turns out I am on php 7.0 which dropped all support for php-mysql extension. So i now have to downgrade to php 5.6 or something. Hacked the source a bit and this error gave me a clue:-
An old question but still this problem exists and the solution to that is:
Open the php.ini file in your PHP folder and search for max_execution_time.
When you find it, increase it to 3600 and save the file. Maximum execution time of each script, in seconds, i.e. max_execution_time=3600
Then restart Apache.
Try openSIS installation again.
Basically turned error logging on and it turns out the blank page was caused by the session_state directory not have the correct permissions. That is for my install the PHP.ini file had put it in my documents and settings\local settings\temp\php or something like that. What you need to do is change the directory in the PHP.ini file to point to say c:\temp (make sure it exists!) and set the permission. To fault find grant everyone access to see if it works then work back from there.
The next issue was the install wouldn't connect to my SQL Server express database, so I was madly replacing dll's as per the WIKI!
Turns out though that the SQL Server express install by default doesn't allow named pipes or TCPIP connections hence cannot connect! You need to check this protocols are enabled
To enable TCP/IP:
From the Start menu, choose All Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.
Optionally, you can open Computer Manager by right-clicking My Computer and choosing Manage. In Computer Management, expand Services and Applications, expand SQL Server Configuration Manager.
Expand SQL Server 2005 Network Configuration, and then click Protocols for InstanceName.
In the list of protocols, right-click the protocol you want to enable, and then click Enable.
The icon for the protocol will change to show that the protocol is enabled.
After this it was smooth. WIKI needs updating badly!
I have an issue with XAMPP 1.7.4. So far it has been doing great on windows 7 and 8, but when I tried installing it on windows xp service pack 3, it gave me a MySQL error #2002.
The BIG issue was that in the status page the MYSQL Database was noted as DEACTIVATED as seen in the screenshot below:
Meanwhile, in the XAMPP control panel application, MySQL is actually running well, even in the services tab, so what could be the problem with this set up???
My problem : MySql Status appears as deactivated.
Ensure your my.ini file points to the correct MySql port (typically 3306)
Use localhost:(Apache port number)/phpmyadmin to access the mysql user : pma : This user needs no password.
The second bullet is how I resolved my problem.
i came up with an ideal solution, the xampp folder in C: was corrupted after the OS crashed, therefore there were missing files which led to re-installation of xampp but since the registry was not cleared, the application could not take control of the apache & mysql ports, i used a registry cleaner and re-installed xampp again and this time it worked from the inset. Thanks for all the comments.
As cptnk said, look at your poccesses list – there may be mysqld (MariaDB for ex.) service started by other stack.
So if it is launched not from your xampp stack – then stop it and run stack not from xampp-control, but with apache_start.bat and mysql_start.bat or with xampp_start.exe.