Download
how to use mysql in linux n.
Skip this Video
Loading SlideShow in 5 Seconds..
How to Use MySql in Linux PowerPoint Presentation
Download Presentation
How to Use MySql in Linux

How to Use MySql in Linux

147 Views Download Presentation
Download Presentation

How to Use MySql in Linux

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. How to Use MySql in Linux by CaiYao Nov ,2004

  2. PlatForm • RedHat 9 • MySql 3.23.54 • phpMyAdmin 2.5.7(depend on Apache)

  3. Start the Service • /sbin/service mysqld start • (For phpmyadmin) • /sbin/service httpd start

  4. Use C to operate the Database • 1.Initialize • 2.Connect • 3.Operate • 4.Close • 5.Encrypt

  5. Initialize

  6. Connect

  7. Query

  8. Operation • MYSQL_RES *result; • MYSQL_ROW row; • int onlinefriends,userport;

  9. Close

  10. Compile and Run • gcc -o test test.c • -L/usr/lib/mysql -lmysqlclient

  11. Thank you!