•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 397,625 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,439 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 12075 | Replies: 2
![]() |
Hi,
I'm running my server on localhost. I'm trying to make a forum database program in php, but I can't get mysql to work! whenever I try to add a table, it says there isn't any database. How do I add a database to localhost?
Thanks in advanced for your help.
I'm running my server on localhost. I'm trying to make a forum database program in php, but I can't get mysql to work! whenever I try to add a table, it says there isn't any database. How do I add a database to localhost?
Thanks in advanced for your help.
•
•
Join Date: Sep 2005
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
The Mysqld should have its basic DB 'mysql' installed to work properly.
If your working from a windows based os, Mysql has an easy to use admin client which enables you to create databases add tables, etc. ( http://dev.mysql.com/downloads/administrator )
Hope this answers your question
If your working from a windows based os, Mysql has an easy to use admin client which enables you to create databases add tables, etc. ( http://dev.mysql.com/downloads/administrator )
Hope this answers your question
http://www.phpmyadmin.net/home_page/
Per their website : phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges,export data into various formats and is available in 50 languages.
I use this tool, you can create new databases, work with your tables and such.. You did not mention what versions of PHP and MySQL you are working with. Just create a dir in your webservices dir.. ( ie c:\apache\htdocs\phpmyadmin ), and place the files there.. You should have MySQL already running .. you can also use the MySQL Admin tool from the MySQL website ( See Above link ).
Per their website : phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges,export data into various formats and is available in 50 languages.
I use this tool, you can create new databases, work with your tables and such.. You did not mention what versions of PHP and MySQL you are working with. Just create a dir in your webservices dir.. ( ie c:\apache\htdocs\phpmyadmin ), and place the files there.. You should have MySQL already running .. you can also use the MySQL Admin tool from the MySQL website ( See Above link ).
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
Similar Threads
- How to Connect MySQL from JSP Page (JSP)
- cannot connect to mysql server (PHP)
- Can't connect to MySQL server on 'localhost' (10061) (PHP)
- how do I connect to MySQL server which is firewall protected? (Python)
- setting up MyODBC to connect to MySQL, need help.... (MySQL)
Other Threads in the MySQL Forum
- Previous Thread: MySQL 5.0 vs. PostgreSQL 8.1
- Next Thread: MySQL. Setup?


Linear Mode