password Note that this is not the same as the root or admin password of OSX this is a unique password to the mysql root user, use one andremember/jot down somewhere what. To run a website with no permission issues it is best to set the web root and its contents to be writeable by all, since its a local development it shouldnt be a security issue. Starting MySQL Relaunch you System Preference and you will see a new MySQL Preference, which you can start/stop MySQL and also enable to have it launch on boot. Upgrading from a previous OS X version preserves the Sites folder but removes the ability to web serve from it this is where you need to add in a nf file. Apache.4.9 : This is great no need for any other Apache installation! To upgrade phpmyadmin just download the latest version and copy the older p from the existing directory into the new folder and replace backup the older one just in case. LoadModule rewrite_module libexec/apache2/mod_ PHP.5.29 is loaded in the build of OSX.11.1 El Capitan and needs to be turned on by uncommenting a line in the nf file. Create a Sites folder at the account root level Check that you have a nf filed under: /etc/apache2/users/ If you dont (very likely then create one named by the short username of the account with the suffix.conf, its location and permissions/ownership is best tackled. Document root is the location where the files are shared from the file system and is similar to the traditional names of public_html and htdocs, OSX has historically had 2 web roots one at a system level and one at a user nmap level you can. Make sure you click on save, then a p is now in the /config directory of phpmyadmin directory, move this file to the root level of /phpmyadmin and then remove the now empty /config directory. MySQL is again a missing component in OS.11 and needs to be dowloaded from the MySQL site use the Mac OS.10 (x86, 64-bit DMG Archive version (works.11). This needs to be done in the Terminal which is found at for those not familiar with the Terminal, it really isnt as intimidating as you may think, once launched you are faced with a command prompt waiting for your commands just type/paste. Switch to the Authentication tab and set the local mysql root user and the password. Permissions on the file should be: -rw-r-r- 1 root wheel 298 Jun 28 16:47 nf If not you need to change sudo chmod 644 nf Restart Apache for the new file to be read: sudo apachectl restart Then this user level document root will. I booted into recovery from a USB pen drive, and repaired permissions, but still the same problem.
Change the MySQL root password Note that this is not the same as the root or admin password of OSX this is a unique password for the mysql iphone root user 7 x86 10, it will work just with the same start up issue. MySQL 6, sites document root folder in your home account you will need to add back in a user configuration file. Is there a workaround, the 2nd item allows MySQL to start when the Mac is booted and the third is a System Preference that allows startstop operation and a preference to enable it to start on boot. Use one and rememberjot down somewhere what.
MySQL is again a missing component.OS.11 and needs to be dowloaded from the.MySQL site use the Mac, oS.10 (x86, 64-bit DMG Archive version (works.11 ).
PHP, setting Stuff mac Up, i note that the latest version of MySQL is for. Once downloaded install the 3 components. After starting, pHP, htaccess files used to override the default settings this can poste be accomplished by editing the nf file at line 217 and setting the AllowOverride to All and. The version installed in Mountain Lion. Apple ships PHP, their is no GUI to toggle Web Sharing on or off in OSX 10.
If you had the website stored at the System level Document root at say then it would have to be the latter: sudo chown -R _www So I think its worth setting up the User level root as there is less authentication!Starting/Stopping from the command line if you are so inclined, the start/stop commands have changed for MySQL.7 on OSX To start sudo launchctl load -F /Library/LaunchDaemons/ist To stop sudo launchctl unload -F /Library/LaunchDaemons/ist To find the MySQL version from the terminal, type at the prompt: /usr/local/mysql/bin/mysql.This version corrects previous issues with starting mysql on boot as Apple changed the launch process on OSX Yosemite onwards.