🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Konstantinos Chaitas
    Konstantinos Chaitas
    2,566 Points

    PHP with MYSQL

    Posted July 9, 2016 4:51pm by Konstantinos Chaitas
    Konstantinos Chaitas
    2,566 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    0 Answers

  • Carla Hiner
    Carla Hiner
    7,656 Points

    What text editor do I use to open the htdocs? Do I have to download Netbeans or Eclipse?

    Posted April 25, 2016 3:57pm by Carla Hiner
    Carla Hiner
    7,656 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    3 Answers

  • Carla Hiner
    Carla Hiner
    7,656 Points

    How do I open htdocs directory? No launch pad. Using PHP with MySQL. Getting Started with PDO. Downloaded files.

    Posted April 23, 2016 5:27pm by Carla Hiner
    Carla Hiner
    7,656 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    2 Answers

  • Jason Chiu
    Jason Chiu
    4,373 Points

    A fatal problem to connect to mysql database with PDO class

    Posted April 13, 2015 11:55am by Jason Chiu
    Jason Chiu
    4,373 Points
    • Development Tools
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    2 Answers

  • Chris Komaroff
    PLUS
    Chris Komaroff
    Courses Plus Student 14,198 Points

    Hello, I am not able to render database.php in my Chrome browser using my Mac

    Posted March 1, 2015 2:11am by Chris Komaroff
    Chris Komaroff
    Courses Plus Student 14,198 Points
    • Development Tools
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    3 Answers

  • Chris Martinez
    Chris Martinez
    11,715 Points

    access denied

    Posted February 18, 2015 8:29am by Chris Martinez
    Chris Martinez
    11,715 Points
    • Development Tools
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    1 Answer

  • saranyamoellers
    saranyamoellers
    31,831 Points

    Fatal error: Class 'PDO' not found in... I can't connect to database?

    Posted December 18, 2014 2:09am by saranyamoellers
    saranyamoellers
    31,831 Points
    • Development Tools
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    2 Answers

  • Issavara Polanun
    Issavara Polanun
    5,480 Points

    Can't open the website in my server

    Posted November 5, 2014 7:34pm by Issavara Polanun
    Issavara Polanun
    5,480 Points
    • Development Tools
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    1 Answer

  • Trevor Rounce
    Trevor Rounce
    27,813 Points

    Can Not Connect To The Database?

    Posted October 28, 2014 12:30am by Trevor Rounce
    Trevor Rounce
    27,813 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    4 Answers

  • Jun XIE
    Jun XIE
    10,363 Points

    can not connect to the database and shows access forbidden

    Posted July 25, 2014 7:24am by Jun XIE
    Jun XIE
    10,363 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    1 Answer

  • qdzfplofsk
    qdzfplofsk
    22,025 Points

    Database connect error using PDO

    Posted July 9, 2014 7:29pm by qdzfplofsk
    qdzfplofsk
    22,025 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    13 Answers

  • Marcel Neuenhaus
    Marcel Neuenhaus
    723 Points

    Connecting PHP to MySQL

    Posted June 16, 2014 11:52am by Marcel Neuenhaus
    Marcel Neuenhaus
    723 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    10 Answers

  • KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points

    How to Restrict Duplicate Entries in Database?

    Posted June 5, 2014 8:15am by KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    7 Answers

  • Arnaud Schenk
    PLUS
    Arnaud Schenk
    Courses Plus Student 2,957 Points

    Xampp with apache server error : "access forbidden"

    Posted May 19, 2014 8:26am by Arnaud Schenk
    Arnaud Schenk
    Courses Plus Student 2,957 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    2 Answers

  • Samuel L. Moreira
    Samuel L. Moreira
    9,587 Points

    500 Internal Server Error

    Posted May 9, 2014 5:26pm by Samuel L. Moreira
    Samuel L. Moreira
    9,587 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    1 Answer

  • sebastian rojas
    sebastian rojas
    571 Points

    Can't connect to database - mysql

    Posted April 9, 2014 8:51pm by sebastian rojas
    sebastian rojas
    571 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    6 Answers

  • Jason Bunnell
    Jason Bunnell
    2,506 Points

    PHP and MySQL

    Posted March 25, 2014 4:01pm by Jason Bunnell
    Jason Bunnell
    2,506 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    3 Answers

  • KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points

    Could not connect to Database.

    Posted February 24, 2014 3:41pm by KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points
    • PHP
    • Using PHP with MySQL
    • Connecting PHP to MySQL
    • Getting Started with PDO

    4 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.