-
[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
![Extron RGB-160XI Analog Computer Video 60-378-01 picture](/store/img/acQAAOSw0rdcMWoG/s-l225//Extron-RGB-160XI-Analog-Computer-Video-60-378-01.jpg)
Extron RGB-160XI Analog Computer Video 60-378-01
$187.06
![Dual Systems AOM-12 Digital to Analog S-100 Computer picture](/store/img/YuIAAOSwM5tmC0L9/s-l225//Dual-Systems-AOM-12-Digital-to-Analog-S-100-Comput.jpg)
Dual Systems AOM-12 Digital to Analog S-100 Computer
$95.00
![*KB* ANALOG DEVICES MODEL RTI-1221 VINTAGE COMPUTER (JKG1) picture](/store/img/OfwAAOSwvnpmiZiX/s-l225//-KB-ANALOG-DEVICES-MODEL-RTI-1221-VINTAGE-COMPUTER.jpg)
*KB* ANALOG DEVICES MODEL RTI-1221 VINTAGE COMPUTER (JKG1)
$63.75
![Brand New - Apple Macintosh SE & SE/30 - Universal Replacement Power Supply picture](/store/img/dxUAAOSwKctmjgoV/s-l225//Brand-New-Apple-Macintosh-SE-SE-30-Universal-Repla.jpg)
Brand New - Apple Macintosh SE & SE/30 - Universal Replacement Power Supply
$134.99
![*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG13) picture](/store/img/OEYAAOSwAIRmiaJ-/s-l225//-KB-ANALOG-DEVICES-MODEL-RTI-1220-VINTAGE-COMPUTER.jpg)
*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG13)
$63.75
![NEW Aquarius+ Computer Signature Edition - 8Bit Retro System picture](/store/img/IlUAAOSwPmZlBzrJ/s-l225//NEW-Aquarius-Computer-Signature-Edition-8Bit-Retro.jpg)
NEW Aquarius+ Computer Signature Edition - 8Bit Retro System
$209.00
![Apple Macintosh 128k 512k Plus Analog Board Capacitor Re-Cap Kit - US Shipping picture](/store/img/8mwAAOSw2I1mIvLI/s-l225//Apple-Macintosh-128k-512k-Plus-Analog-Board-Capaci.jpg)
Apple Macintosh 128k 512k Plus Analog Board Capacitor Re-Cap Kit - US Shipping
$23.95
![Vintage CH Products Mach II Analog Joystick Apple **READ** parts or repair picture](/store/img/FCwAAOSwi5VmLq2V/s-l225//Vintage-CH-Products-Mach-II-Analog-Joystick-Apple-.jpg)
Vintage CH Products Mach II Analog Joystick Apple **READ** parts or repair
$45.00
![Apple 661-0287 5.25](/store/img/4cYAAOSwz9hlQ79Z/s-l225//Apple-661-0287-5-25-Unidisk-Analog-CD-Card-Vintage.jpg)
Apple 661-0287 5.25" Unidisk Analog CD Card Vintage 1986 820-0190-A
$152.00
![NEC PC-9801 VGA Cable Converter Adapter Analog RGB 15Pin Female PC98 PC9821 9800 picture](/store/img/sIoAAOSwPRJhbwUr/s-l225//NEC-PC-9801-VGA-Cable-Converter-Adapter-Analog-RGB.jpg)
NEC PC-9801 VGA Cable Converter Adapter Analog RGB 15Pin Female PC98 PC9821 9800
$53.00