-
[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
![Altair 8800 CPU Board Working *TESTED* reproduction picture](/store/img/vAYAAOSwBEBmM~fj/s-l225//Altair-8800-CPU-Board-Working-TESTED-reproduction.jpg)
Altair 8800 CPU Board Working *TESTED* reproduction
$790.00
![MITS ALTAIR 8800 88-2SIO S-100 Reproduction Board picture](/store/img/DzgAAOSwhMJmFHk9/s-l225//MITS-ALTAIR-8800-88-2SIO-S-100-Reproduction-Board.jpg)
MITS ALTAIR 8800 88-2SIO S-100 Reproduction Board
$35.00
![MITS ALTAIR 8800 B Original Vintage Microcomputer picture](/store/img/HNsAAOSwSVlma4Zy/s-l225//MITS-ALTAIR-8800-B-Original-Vintage-Microcomputer.jpg)
MITS ALTAIR 8800 B Original Vintage Microcomputer
$5250.00
![MITS ALTAIR 8800 Vintage Computer w/ Keyboard, Floppy, boards - Buy It Now picture](/store/img/gvYAAOSwh8hmc1f6/s-l225//MITS-ALTAIR-8800-Vintage-Computer-w-Keyboard-Flopp.jpg)
MITS ALTAIR 8800 Vintage Computer w/ Keyboard, Floppy, boards - Buy It Now
$8975.00
![Altair MITS 8800 CPU Parts Kit not IMSAI 8080 S100 (board NOT included) picture](/store/img/BaMAAOSw4htlqwT0/s-l225//Altair-MITS-8800-CPU-Parts-Kit-not-IMSAI-8080-S100.jpg)
Altair MITS 8800 CPU Parts Kit not IMSAI 8080 S100 (board NOT included)
$69.95
![S-100 backplane motherboard bare PCB 9 slot (for Altair/IMSAI) picture](/store/img/yPkAAOSwS1Nl48u2/s-l225//S-100-backplane-motherboard-bare-PCB-9-slot-for-Al.jpg)
S-100 backplane motherboard bare PCB 9 slot (for Altair/IMSAI)
$30.00
![Vintage CompuPro RAM 22 256k Static RAM for the S-100 Bus Altair IMSAI picture](/store/img/fwQAAOSwPtlmlYym/s-l225//Vintage-CompuPro-RAM-22-256k-Static-RAM-for-the-S-.jpg)
Vintage CompuPro RAM 22 256k Static RAM for the S-100 Bus Altair IMSAI
$200.00
![MITS Altair S-100 RAM Boards - 3x 4K Synchronous + Early 4K picture](/store/img/t40AAOSwQAdmmFDh/s-l225//MITS-Altair-S-100-RAM-Boards-3x-4K-Synchronous-Ear.jpg)
MITS Altair S-100 RAM Boards - 3x 4K Synchronous + Early 4K
$499.99
![VINTAGE DEC 1975 VOL 1 ISSUE 1 SCCS INTERFACE MAGAZINE MITS ALTAIR COVER & ADS picture](/store/img/0kcAAOSwJ51lR8ma/s-l225//VINTAGE-DEC-1975-VOL-1-ISSUE-1-SCCS-INTERFACE-MAGA.jpg)
VINTAGE DEC 1975 VOL 1 ISSUE 1 SCCS INTERFACE MAGAZINE MITS ALTAIR COVER & ADS
$358.99
![Altair MSAI Douglas Electronics 11 DE Prototype Card S100 circuit board #AX44 picture](/store/img/sMAAAOSwFxdli4b~/s-l225//Altair-MSAI-Douglas-Electronics-11-DE-Prototype-Ca.jpg)
Altair MSAI Douglas Electronics 11 DE Prototype Card S100 circuit board #AX44
$69.00