Jump to content
Larry Ullman's Book Forums

Recommended Posts

I tried to Install MySQL and accidentally typed an wrong password (mistake from copy paste) : the password I think is new-password. But it also may not be so. The truth being Followint the appendix a on the third edition of Larrys MySQL and PHP:Dynamic websites book returned a connection failed error with password : NO.

 

this is what it returns now:

 

unknown-00-17-f2-c4-cd-70:bin juliositgespomares$ mysqladmin –u root password ➝ 0bservar8

-bash: mysqladmin: command not found

unknown-00-17-f2-c4-cd-70:bin juliositgespomares$

 

I tried to show you what I wrote before since it is what I saw, but it returned something different.

 

I want to install the environment on My iMac with in tell processor.

And Used the web to figure out how to use the PHP that came with the computer, I have lion installed.

 

I thought that reinstalling MySQL would set blank the password but I still can't set a password and I need help thoroughly to set my testing environment. So far when I check a php on Safari all i can see is the code (raw) not parsed as Larry writes in his amazing book.

 

Thanks for the help, it is much appreciated.

j

Link to comment
Share on other sites

you will need to install MAMP, which you can download from this link, http://www.mamp.info/en/index.html. Ensure that you have the correct operating system required. Once you've installed MAMP, you will hve a new test environment and you can use phpmyadmin to set passwords.

 

Thank you for this answer, I've actually erased mamp folder and will now proceed to replacing it to its prior location. furthermore I would feel comfortable if any of you could reassure me that It is okay to have made changes on the terminal regarding php module and of course the installation of mysql. What should be the best course of action regarding those two, Would it be a problem to leave those installed as is. I would need to dl a program to let me see hidden files before i can access usr to erase mysql folder.

 

So Im on the MAMP configuration. again, I'll let you know how it goes.

j-

Link to comment
Share on other sites

I erased MAMP because I thought i did not need it, after putting it back to my applications I see the MySQL server offline, I don't know how to set the password using phpmyadmin, but can read about it online.

i'll let you know how it goes

j-

Link to comment
Share on other sites

Forbidden

You don't have permission to access /MAMP/ on this server. Apache/2.2.21 (Unix) DAV/2 PHP/5.3.8 with Suhosin-Patch Server at localhost Port 80

I set the MySQL to stop on system preferences (I had downloaded it separately and is still on my computer), now I want to start MAMP MySQL but receive the error above.

Link to comment
Share on other sites

 Share

×
×
  • Create New...