Quantcast

help with php

alison's picture

Hi,

i just used your "test drive dynamic websites article" to try activate apache and php on my mac running os x 10.2.7. (i know you said 10.3 but there does seem to be apache on theis machine the apache 1 graceful worked.) Anyway, everything seemed to go ok till i typed the password change code into the terminal.

/usr/local/mysql/bin/mysqladmin -u root password yourpasswordhere

i got...

/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed

error: 'Access denied for user: 'root@localhost' (Using password: NO)'

i've installed mysql ok the database test worked.

i really have no clue at this level of coding so if anyone can help me out with what this means or how i can fix it it'd be much appreciated.

cheers

alison

Ivan's picture

it looks like there is a prob

it looks like there is a problem with you php and not mysql.

let's take it step by step...

did you switch on personal web sharing in your system prefernces?

alison's picture

hi ivan, thank you for get

hi ivan,

thank you for getting back,

i managed to sort it. there are some extra alterations you have to do on mac os x 10.2.x in order to get the the php going.

there a link here that describes it all... http://www.spinnerworld.com/php_setup.html

i can't belive i managed to get it working. thank you for your great article.

alison

Ivan's picture

congrats. no np. tx for posti

congrats. no np. tx for posting back your results!

what kind of php site are you going to install?

alison's picture

i'm trying to set up an e-com

i'm trying to set up an e-commerce site for my textile designs using os-commerce. since it's all done using php -- i figured i could do with trying to get my head round how it works. so i needed to set up a local server so i could test my attempts, without putting it on a live server. very steep learning curve and very scary doing all that terminal stuff but hopefully worth it. :)

Ivan's picture

cool, if you get stuck you ca

cool, if you get stuck you can always setup a kagi or yahoo store relatively easily.

User login

Partner With Us













Latest critique

Fin-Tek