Key Wizard MySQL database operation

Source: Internet
Author: User

Inquire

MySQL server address ="192.168.1.166"User name="Root"Password="123"Database name="Bookshop"Port number="3306"MySQL handle=Plugin.Super_MySQL.mysql_connect (MySQL server address, user name, password, database name, port number) SQL statement="SELECT * from Users"return=Plugin.Super_MySQL.mysql_query (MySQL handle, SQL statement) recordset handle=Plugin.Super_MySQL.store_result (MySQL handle) rows=Plugin.Super_MySQL.num_rows (recordset handle) for I=1To rows//Read FieldUsername=plugin.super_mysql.fetch_text (record set handle,"username")        //Read Fieldpass = Plugin.Super_MySQL.fetch_text (record set handle,"Pass") traceprint username&","&Pass//Next linePlugin.Super_MySQL.row_next record set handle next

Key Wizard MySQL database operation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.