Unable to connect to Database - Joomla and MAMP
Hello Steve, I'd installed MAMP in my "Applications" folder, and per Rod's instructions... I set preferences in the "Document Root" using MAMP's "Apache" tab to this: "Users/goldilocks/Sites"

Today I used my Finder and found that I have 2 "htdocs" folders...
One is listed as: "Applications/MAMP/htdocs" and the other is listed as: "goldilocks/Sites/htdocs."

My Joomla website is in the folder: ".../Sites/htdocs/samplesite"

Now I'm finally getting to the ‘root’ of my question.

When I installed the extension "Eventlist" in Session 30, I wanted to show actual text for the days of week and month (not numbers), but when I clicked on the link that sits beside the box where I’d change the “formula,” the “php.net” website appeared with a bunch of code to choose from.

With that in mind, I figured that while learning Joomla, I would need to know a bit of PHP in order to make changes like this myself. I picked up a beginner PHP book, created a php test page, setup a test server for my DW site to test the php page... It works when I type in the url in browser... BUT when I click on the page in Dreamweaver to see the page in my browser... the message reads: “Unable to connect.”

I've tried connecting to both of those “htdocs” folders unsuccessfully. Which one do I use? Now that I think about it, I don’t know if that’s where the server is. I just looked in my “Application/MAMP” folder and found a “db” folder in MAMP. Do I use that?

Or, do I need to set up another database for Dreamweaver to use? I started using instructions (see link below) I'd found on Adobe's site, but when I get to the end of the instructions page where it says "Next step is to create a MySQL database and user account"... I'm told to verify that my webserver and MySQL server are running. I see the green lights ON the MAMP control panel, but when I enter "http://localhost/phpmyadmin/” per their instructions in my browser, I get that “Unable to connect” message. BUT, I can access this page by using the MAMP control panel and clicking on the "phpMyAdmin" tab in MAMP's start page. So, are my servers running? Another ‘elementary’ question because... Duh... my Joomla samplesite I installed is working.

Sorry, this is so long... I'm total a database babe! Do I need to use this "phpMyAdmin" screen from MAMP and follow these instructions:
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_06.html
to create a new database to use with Dreamweaver CS3 for learning PHP? Or, can I use the database that was set up when I installed Joomla? Wow! This reminds me that when I started your course, I wondered if I would need a database for each Joomla I installed? Thanks in advance!

P.S. Have you noticed that this ‘baby joomer’ is trying to remain positive by using the word “elementary” instead of words like “stupid” or “dumb”? I appreciate your patience!

This question was answered by our Joomla experts

Every day, people are building great websites with Joomla.
Joomla Training OnlineWith Open Source Training, they have access to online classes and support from the best teachers in the Joomla world.

Our professional teachers have created videos and tutorials for you that walk you step-by-step through everything you'll need to build wonderful Joomla websites. These are the same lessons we use to help clients like Apple, Sun, IBM, Hewlett-Packard and NASA.

Joomla Training Includes:

  Your Joomla Subscription [-]
Same-Day Support
Unlimited Joomla questions, all answered within 24 hours.
Beginner-level Class
8 hours of video tutorials introducing you to all the key Joomla concepts.
Template Design Class
A complete video class showing you how to build and modify Joomla templates.
Search Engine Class
45 detailed tutorials on optimizing your Joomla site for search engines.
New tutorials every week
New weekly step-by-step tutorials on topics suggested by members.
Bonus Templates
Two commercial Joomla templates, Bolt and Breeze
Intermediate-level Class
Due July 2010

47red

72red

47red

Open Source Training are the teachers trusted to train many of the world's most famous companies ...

Hewlett Packard and Joomla Apple and Joomla
Sun and Joomla NASA and Joomla
Verizon Wireless and Joomla World Bank and Joomla
IBM and Joomla United Way and Joomla

Our Students Love the Training

Thank you! Thank you! Can't thank you enough. I really enjoy listening and watching the videos! You guys have made learning much more fun and found that by your adding those little "goodie clips", it helps relax and remove fear too.

  • TJW

I just wanted to tell you how much I enjoyed your teaching and how you could read the class and present your teaching to every ones level.  A lot of the students had way more knowledge about the internet and web designing than I did but I was able to keep up with your teaching.

  • Eddie Schulz

Learn Joomla Or Your Money Back ...

We're so confident that you can learn Joomla with our classes and with our help that we'll refund your money at any point during your membership.

If you're not able to build a high-quality Joomla website, we'll give you a 100%, unconditional refund.

Why Learn Joomla From These Expert Teachers?

  • You'll be able to learn at your own pace, 24 hours a day, 7 days a week.
  • You need no Joomla or web-design knowledge.
  • You'll get rapid Joomla answers from teachers who have taught 1000s of students.
  • You'll have fun! The videos are entertaining and make your Joomla experience enjoyable.
  • You get two professional Joomla templates, Bolt and Breeze, worth $120.
  • You'll learn from comprehensive and organized classes, not random tutorials.
  • You'll save dozens of frustrating hours digging around the web for answers.
  • You won't waste thousand of dollars on webdesigners. You can build Joomla websites.

47red

72red

47red

Related Joomla Tutorials

Related Joomla Questions