Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 02-08-2008, 03:53 PM PHP MySQL help
np2100's Avatar
Skilled Talker

Posts: 70
Name: Nick
Trades: 0
Hello, I have been trying to get this to work for the last 2 days. After I downloaded MySQL I went to the Server Instance Config Wizard. After I finished it I went to Dreamweaver and tryed to make a connection but when I made the database I only made a root password so what should I put under these categories:
Connection Name:
MySQL Server:
UserName:
Password:
Database:
Thanks, and also next to database when I hit select it always says that my php server doesnt have the MySQLmodule loaded or you cant use the mysql_(p)connect functions.
np2100 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-08-2008, 04:19 PM Re: PHP MySQL help
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Connection Name: my_first_connection_or_anything_I_want_to_put_here
MySQL Server:127.0.0.1 (if it's the same computer, otherwise, enter the ip adress of the computer, or it's name on your network)
UserName:root
Password:{nothing if you let the root password blank, but it's __BAD__ practices}
Database: {You had to give a name to the database you created, enter it here}

As for the PHP module, look into the php.ini (it's located in the php install directory usually) and ocate the line
Code:
extension = mysql.dll
and remove any ";" you might have before it.
Then, restart the apache web server to apply those modifications and you should be ok.

But I'd say you would rather use something like xampp [ http://www.apachefriends.org/en/xampp.html ] which bundle apache, PHP and mysql together
and configure it out of the box, rather than downloading each part yourself, if you have no experience in setting them up.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to PHP MySQL help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45781 seconds with 12 queries