-
[mysql] how do I use it???
hi,
I am developping my website in php under linux but I need to connect to a mysql db...
It seems I have to copy my db in /etc/lib/mysql/ but how can I access them from my test webpage and what do I need to run to get them working??
Thxs in advance
Ludo
-
Senior Member
registered user
The MySQL part is the hardest part. You really need to go to the MySQL site and download the manual. Really. It's very good.
If you do a Google for
MySQL php
you should find lots of tutorials. Don't expect this to be easy (but it's not rocket science, either).
-
It's difficult to say anything without knowing more details. But one thing to watch out for is the case in Database/Table names. If you copied your db over from Windows (which is case-insensitive) sometimes files names are incorrect on Linux (which is case-sensitive). The correct names for the files are tablename.frm, tablename.MYD, tablename.MYI. Also check the permissions.
If you are working on something that did work in another environment check mysql_error(). If you are starting from the beginning I'll second fingers99: there is lot's of good tutorials out there and the official PHP and MySql manuals are really very good.
- - Edwin
-
Similar Threads
-
By mzee in forum Knoppix DVD
Replies: 17
Last Post: 10-12-2005, 08:48 AM
-
By dr_rude in forum General Support
Replies: 2
Last Post: 10-11-2004, 02:37 AM
-
By sniker in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 10-08-2004, 03:50 AM
-
By Coume in forum General Support
Replies: 5
Last Post: 08-06-2003, 06:42 AM
-
By Terry@nz in forum General Support
Replies: 3
Last Post: 06-09-2003, 10:01 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black picture](/store/img/cEQAAOSwKIlgze4p/s-l225//Grandstream-GS-HT802-2-Port-Analog-Telephone-Adapt.jpg)
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
![NEW Polycom VVX 501 VoIP IP Phone & Stand Tested VVX501 2200-48500-019 Lync picture](/store/img/AQEAAOSwJ8tmcyJS/s-l225//NEW-Polycom-VVX-501-VoIP-IP-Phone-Stand-Tested-VVX.jpg)
NEW Polycom VVX 501 VoIP IP Phone & Stand Tested VVX501 2200-48500-019 Lync
$43.98
![Obihai OBI200 1-Port VoIP Phone Adapter picture](/store/img/ewwAAOSwTkZmndUd/s-l225//Obihai-OBI200-1-Port-VoIP-Phone-Adapter.jpg)
Obihai OBI200 1-Port VoIP Phone Adapter
$34.99
![Poly CCX 700 IP Phone OpenSIP - VoIP Phone (2200-49750-025) picture](/store/img/60MAAOSwXupmnJ-q/s-l225//Poly-CCX-700-IP-Phone-OpenSIP-VoIP-Phone-2200-4975.jpg)
Poly CCX 700 IP Phone OpenSIP - VoIP Phone (2200-49750-025)
$189.98
![Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945 picture](/store/img/NjUAAOSwEmNmEw4x/s-l225//Cisco-CP-7945G-VOIP-Phone-With-Stand-Handset-Busin.jpg)
Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945
$3.00
![New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G - picture](/store/img/ky0AAOSwk4RmDzQo/s-l225//New-Cisco-7945G-IP-VoIP-Gigabit-GIGE-Telephone-Pho.jpg)
New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -
$24.95
![Obihai OBi200 1-Port VoIP Phone Adapter with Google Voice picture](/store/img/3WQAAOSweTNmnR4m/s-l225//Obihai-OBi200-1-Port-VoIP-Phone-Adapter-with-Googl.jpg)
Obihai OBi200 1-Port VoIP Phone Adapter with Google Voice
$34.00
![Yealink SIP-T54W W/ HD Display Business VoIP Phone w/ Built-in Bluetooth and POE picture](/store/img/VdAAAOSwFHpmmr03/s-l225//Yealink-SIP-T54W-W-HD-Display-Business-VoIP-Phone-.jpg)
Yealink SIP-T54W W/ HD Display Business VoIP Phone w/ Built-in Bluetooth and POE
$69.99
![Grandstream DP720 10 SIP Accounts Full HD Audio Dect Cordless VoIP Telephone picture](/store/img/r0UAAOSw0ZVmjYwL/s-l225//Grandstream-DP720-10-SIP-Accounts-Full-HD-Audio-De.jpg)
Grandstream DP720 10 SIP Accounts Full HD Audio Dect Cordless VoIP Telephone
$24.44
![Lot Of 5 Phones: Yealink SIP-T29G 10-Lines Color IP Phone picture](/store/img/uAkAAOSwa0VkZ92X/s-l225//Lot-Of-5-Phones-Yealink-SIP-T29G-10-Lines-Color-IP.jpg)
Lot Of 5 Phones: Yealink SIP-T29G 10-Lines Color IP Phone
$63.99