how to use mysql in linux
DESCRIPTION
How to Use MySql in Linux. by CaiYao Nov ,2004. PlatForm. RedHat 9 MySql 3.23.54 phpMyAdmin 2.5.7(depend on Apache). Start the Service. /sbin/service mysqld start (For phpmyadmin) /sbin/service httpd start. - PowerPoint PPT PresentationTRANSCRIPT
How to Use MySql in Linux
by CaiYao Nov ,2004
PlatForm RedHat 9 MySql 3.23.54 phpMyAdmin 2.5.7(depend on Apach
e)
Start the Service
/sbin/service mysqld start (For phpmyadmin) /sbin/service httpd start
Use C to operate the Database
1.Initialize 2.Connect 3.Operate 4.Close 5.Encrypt
Initialize
Connect
Query
Operation MYSQL_RES *result;
MYSQL_ROW row; int onlinefriends,userport;
Close
Compile and Run
gcc -o test test.c -L/usr/lib/mysql -lmysqlclient
Thank you!