-
[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
![KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture](/store/img/I3EAAOSwdEll-z0J/s-l225//KNOPPIX-9-1-LINUX-INSTALL-LIVE-DVD.jpg)
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
![Linux Knoppix 4.0.2 Installation Disc picture](/store/img/jvgAAOSw2kVl3ru~/s-l225//Linux-Knoppix-4-0-2-Installation-Disc.jpg)
Linux Knoppix 4.0.2 Installation Disc
$29.99
![Knoppix NSM 1.2 picture](/store/img/btwAAOSwWpVlAOZn/s-l225//Knoppix-NSM-1-2.jpg)
Knoppix NSM 1.2
$6.40
![Knoppix Linux Bootable OS v8.6](/store/img/m9EAAOSwwL5fs9mY/s-l225//Knoppix-Linux-Bootable-OS-v8-6-Original-Live-Opera.jpg)
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$20.30
![Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture](/store/img/2xQAAOSwtSZlxsHn/s-l225//Knoppix-9-1-Live-Linux-GNU-Bootable-USB-Flash-Driv.jpg)
Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA
$19.99
![Hamshack Live DVD-ROM picture](/store/img/Or0AAOSwsZpkY8PH/s-l225//Hamshack-Live-DVD-ROM.jpg)
Hamshack Live DVD-ROM
$8.00
![Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture](/store/img/u1wAAOSwhBJljLXq/s-l225//Acer-Aspire-One-9-inch-Netbook-ZG5-512MB-RAM-8GB-S.jpg)
Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA
$79.99
![Knoppix 3.4 Linux installation CD picture](/store/img/UqAAAOSwPf1mNj1O/s-l225//Knoppix-3-4-Linux-installation-CD.jpg)
Knoppix 3.4 Linux installation CD
$5.00
![Knoppix Linux Bootable OS v8.6](/store/img/m9EAAOSwwL5fs9mY/s-l225//Knoppix-Linux-Bootable-OS-v8-6-Original-Live-Opera.jpg)
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95