I'm currently doing a Learn Jquery in 30 days course and have hit a snag. Lesson 25 uses a local server (WAMP/MAMP) to run some dynamic code but after set up I am getting an error message and I am not sure why. I have used this process before to successfully create mock WP sites using Dreamweaver and used the following steps which should apply again, I think:
1 - Start MAMP. You should see the start up page. Leave it open. 2 - Create a site root folder for your site in applications/MAMP/htdocs/. 3 - Define a new site in dreamweaver. 4 - In "local info" point everything to the folder you created in the htdocs folder. The http address should be this.
5 - in "remote info" choose Local/Network from the access menu. Point the remote folded to the folder you created in the htdocs folder. 6 - in "testing server" choose PHP/mySQL under server model, Local/Network from the access menu and testing server to he folder you created in the htdocs folder. The URL prefix should look like this.
I want to set this up locally so please don't tell me to run it on a live server. I also know most you aren't DW fans but I am where I am, and would appreciate your help. I can't go any further on the course until I complete this tutorial.
hey there, looks like you just have an issue with your username and password for MySQL Off the top of my head the default password for root is blank You could open PHPMyAdmin to change this most likely at http://localhost/phpmyadmin
Hi Karl, thanks for replying. I just checked and the password for the db I created is root, which corresponds to the code in the functions.php page in the exercise files.
Yes, that is the file. I just checked the privileges for the sakila db in phpMyAdmin and they all seem to set to 'root', which is the default I think. It is all in lower case as well. Would a screen shot of the phpMyAdmin be any good to you?
1 - Start MAMP. You should see the start up page. Leave it open.
2 - Create a site root folder for your site in applications/MAMP/htdocs/.
3 - Define a new site in dreamweaver.
4 - In "local info" point everything to the folder you created in the htdocs folder. The http address should be this.
http://localhost:8888/your-site-folder/
5 - in "remote info" choose Local/Network from the access menu. Point the remote folded to the folder you created in the htdocs folder.
6 - in "testing server" choose PHP/mySQL under server model, Local/Network from the access menu and testing server to he folder you created in the htdocs folder. The URL prefix should look like this.
http://localhost:8888/your-site-folder/
7 - Hit OK then Done.
I want to set this up locally so please don't tell me to run it on a live server. I also know most you aren't DW fans but I am where I am, and would appreciate your help. I can't go any further on the course until I complete this tutorial.
Off the top of my head the default password for root is blank
You could open PHPMyAdmin to change this
most likely at http://localhost/phpmyadmin
Screenshot
Out of interest - have you tried using the exercise files on your end?
Check out this thread, down the very bottom
http://drupal.org/node/1059244
Two people have different fixes for this issue
"For me the solution was to change, in the file php.ini, the HOST from 'localhost' into 'your_local_IP_machine'.
Hope this helps someone!.."
Try setting the password blank for all of them
Check this out
http://www.wallpaperama.com/forums/simple-php-mysql-connection-test-script-example-t5702.html