-
[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
![Cordless Wireless Air Blower Handheld Vacuum Cleaner Strong Suction Car Home picture](/store/img/YJYAAOSw7ztmSqw4/s-l225//Cordless-Wireless-Air-Blower-Handheld-Vacuum-Clean.jpg)
Cordless Wireless Air Blower Handheld Vacuum Cleaner Strong Suction Car Home
$22.98
![Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster picture](/store/img/H2gAAOSwW9xl3827/s-l225//Compressed-Air-Duster-with-Air-Blower-100000RPM-Va.jpg)
Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster
$38.99
![Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home picture](/store/img/3CsAAOSwP95mRXfH/s-l225//Electric-Vacuum-Cleaner-Air-Duster-Suction-High-Pr.jpg)
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$9.97
![Compressed Air Duster Blower Electric Vacuum Cleaner 45000RPM for PC Car Home picture](/store/img/GuYAAOSwJ-xmdm~P/s-l225//Compressed-Air-Duster-Blower-Electric-Vacuum-Clean.jpg)
Compressed Air Duster Blower Electric Vacuum Cleaner 45000RPM for PC Car Home
$14.99
![Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US picture](/store/img/dZoAAOSwHINk6MDB/s-l225//Mini-Computer-Vacuum-USB-Keyboard-Cleaner-PC-Lapto.jpg)
Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US
$13.68
![100000RPM Cordless Air Duster Blower Compressed Computer Cleaning Vacuum Cleaner picture](/store/img/mR4AAOSwSslkgYJ2/s-l225//100000RPM-Cordless-Air-Duster-Blower-Compressed-Co.jpg)
100000RPM Cordless Air Duster Blower Compressed Computer Cleaning Vacuum Cleaner
$28.98
![Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust picture](/store/img/6GoAAOSwmcplk3PH/s-l225//Electric-Mini-Air-Duster-Blower-Vacuum-Cleaner-for.jpg)
Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust
$27.85
![Cordless Vacuum S Battery Battery WCVRBPW for Wyze Vacuum S WCVV2CD picture](/store/img/7hcAAOSw~Zpmjxqc/s-l225//Cordless-Vacuum-S-Battery-Battery-WCVRBPW-for-Wyze.jpg)
Cordless Vacuum S Battery Battery WCVRBPW for Wyze Vacuum S WCVV2CD
$38.99
![Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home picture](/store/img/TUkAAOSwnztmcSKz/s-l225//Electric-Vacuum-Cleaner-Air-Duster-Suction-High-Pr.jpg)
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$9.99
![1pc, Cordless Vacuum Cleaner, Lightweight Stick Vacuum Cleaner With Powerful picture](/store/img/cz4AAOSwDYlmaqGP/s-l225//1pc-Cordless-Vacuum-Cleaner-Lightweight-Stick-Vacu.jpg)
1pc, Cordless Vacuum Cleaner, Lightweight Stick Vacuum Cleaner With Powerful
$149.99