We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Installing 3.1.1. via admin.php on Mac running El Capitan MySql and PHP

How Do I?

jon@appinnovators's avatar
jon@appinnovators
3 posts
9 years ago
jon@appinnovators's avatar jon@appinnovators

I have successfully installed MySql and PHP on my system.

I’m able to load the admin.php page in my browser from the EE3.1.1. zip (which was unzipped at my root (Home folder).

Within mysql> (I created a new db called ee)

I tried to create a new user and got the following error…

” ERROR 1396 (HY000): Operation CREATE USER failed for ‘eeuser’@‘localhost’ “

What I did in terminal…

logged in with.. “mysql -u root -p” entered password … “newpwd”

(could have done sudo mysql -u root -p, then put in my system password followed by my root mysql password, but I didn’t do “sudo mysql..” to login..

The Goal is to click the damn “Start Installation” button with all the right information plugged in for “server name” “username” etc…

Just need help identifying what all the information should be for the installation form at admin.php .. thanks!

       
jon@appinnovators's avatar
jon@appinnovators
3 posts
9 years ago
jon@appinnovators's avatar jon@appinnovators

I was told by EE support that I already have created eeuser based on the 1396 ERROR I’m getting, I’m trying to bring up a list of all users and then execute the following:

” GRANT ALL PRIVILEGES ON ee.* TO [email protected] IDENTIFIED BY ‘password’ WITH GRANT OPTION ” if the eeuser exists.

I understand that this is needed to properly setup EE on a MySql database, yes?

My reference for setting this up (w/o MAMP) is: https://medium.com/@eriklharper/running-expressionengine-locally-without-mamp-or-apache-on-mac-os-x-b8180dae85e8#.np5qkao99

Thanks for any help forum!

P.S. It’s interesting that my reference is from Dec 2015, and already the admin.php works differently now than it did in Dec, as in, it doesn’t lead you through the installation prep like a regular wizard would, it seems I have to manually fill in everything now, and this is frustrating for me to understand what belongs where and why..

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
9 years ago
Ingmar Greil's avatar Ingmar Greil
I understand that this is needed to properly setup EE on a MySql database, yes?

Not as such, really. All you need is a MySQL db plus a user with the required privileges. If you want to run EE locally you certainly can, but I wouldn’t consider setting up PHP and MySQL to be part of the installation of EE as such; most users don’t have to deal with that at all.

       
jon@appinnovators's avatar
jon@appinnovators
3 posts
9 years ago
jon@appinnovators's avatar jon@appinnovators
I understand that this is needed to properly setup EE on a MySql database, yes?
Not as such, really. All you need is a MySQL db plus a user with the required privileges. If you want to run EE locally you certainly can, but I wouldn’t consider setting up PHP and MySQL to be part of the installation of EE as such; most users don’t have to deal with that at all.

Huh??? If what Ingmar says above is true.. Then now I wonder…

What are the alternative ways to setup EE31.1. locally??

>>> I’m scouring the web and not finding a local installation solution other than MAMP and WAMP (both using MySql and PHP the exact same way I’m using them)… ??? confused by Ingmar’s comment ???

Sure, I can set it up using Godaddy, but that’s not the goal- because eventually a local installation that I can set up later on a different computer for a client of mine is what needs to happen..

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
9 years ago
Ingmar Greil's avatar Ingmar Greil
What are the alternative ways to setup EE31.1. locally?

You already know about the system requirements, I take it. What else can I say? You will need MySQL (and PHP), one way or another: you can install it yourself, although that requires a certain level of know how, use a pre-packed solution like *AMP or similar, or turn to professional hosting. That said, EE doesn’t even come into the picture at this stage.

Sure, I can set it up using Godaddy, but that’s not the goal- because eventually a local installation that I can set up later on a different computer for a client of mine is what needs to happen..

I venture to say most of us have some sort of local install. Once you have have PHP and MySQL up and running, there’s really very little difference to installing EE on an external host.

If you really insist on doing it all by yourself: is your web server up and running, and working as expected? PHP, too? Finally create a database and a user with sufficient privileges and take note of these credentials: this is the name (of the database), the username and password that you need to enter into the mask when installing EE.

       
Derek Jones's avatar
Derek Jones
7,561 posts
9 years ago
Derek Jones's avatar Derek Jones

Many Mac users work with MAMP, one of the *AMP family that Ingmar references, to simplify setup and configuration of the server environment.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.