Forums
This topic is locked
connect mysql to dreamweaver
Posted 27 Apr 2006 17:19:43
1
has voted
27 Apr 2006 17:19:43 John Tasker posted:
Hi TherePlease could somone help me.
I recently installed XAMPP onto my computer, so I have mysql 5.0.18, and php 5.1.1.
XAMPP was loaded to C:\Program Files\xampp. Everything went OK with the installation and when i point my browser to localhost/xampp/index.php I get the welcome page thats tells me "Congratulations:
You successfully installed XAMPP on this system!"
I then built a small database called "tester" and put in a table named "countries". The database was saved in the location
C:\Program Files\xampp\mysql\data\tester (I didnt choose this it just appeared there together with other sample databases supplied with XAMPP)
My problem is that try as I might I cannot figure out what to put into the site definition for "tester". I have tried allsorts.
Can someone please tell me what I need to complete in Local info , Remote info and Testing server
Many thanks.
Replies
Replied 29 Apr 2006 04:01:13
29 Apr 2006 04:01:13 Javier Castro replied:
in local info, you have to create a folder "whatever"outside your xampp stuff. This is where you will have your files as you develop them.
in remote info, you will use LocalNetwork and locate the xampp folder, in there create a folder and name it the same as the one above "whatever". where you will upload the files you created.
The testing server is where the xampp files are after you have uploaded your files. so you should look at them as http;//localhost/whatever/yourfile.php
let me know if it works.
I just tried it and works for me. However, I'm not using Xampp, I decided to go the hard way and installed manually php and mysql, but now it is great to know I can do it.
If you decide to go that route I can give you some tutorial addresses that I used.
good luck.
in remote info, you will use LocalNetwork and locate the xampp folder, in there create a folder and name it the same as the one above "whatever". where you will upload the files you created.
The testing server is where the xampp files are after you have uploaded your files. so you should look at them as http;//localhost/whatever/yourfile.php
let me know if it works.
I just tried it and works for me. However, I'm not using Xampp, I decided to go the hard way and installed manually php and mysql, but now it is great to know I can do it.
If you decide to go that route I can give you some tutorial addresses that I used.
good luck.