1 / 11

How to Use MySql in Linux

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.

lundy
Download Presentation

How to Use MySql in Linux

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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!

More Related