How does MyGeneration connect to the MySql database?

Source: Internet
Author: User

The following articles mainly describe the actual solution for MyGeneration to connect to the MySql database. I have studied nhib.pdf for a while, in my opinion, nhib.pdf is quite suitable for MySQL (the best combination with PHP) databases.

I personally admire the access speed of MySQL (the best combination with PHP) databases.

I am also very annoying for repetitive and non-technical jobs. Therefore, it is best to find a code generation tool and find a circle. It is found that MyGeneration is not only free, it also supports a large number of databases, including MySQL (the best combination of PHP and MySQL). Run it down and use the result.

By default, MyGeneration does not have a MySQL (the best combination with PHP) driver. It is useless and depressing.

Check the help documentation! Follow me...

1. Go to the MySQL (best combination with PHP) official website and download the connection. net driver, MySQL (the best combination with PHP)-connector-net-1.0.7, install MySQL (the best combination with PHP ). data. dll and ICSharpCode. sharpZipLib. copy two dll files to the installation directory of MyGeneration

2. Run MyGeneration and make the following Settings on the Default Settings page:

In the Connection String, choose MySQL as the Driver (the best combination of MySQL and PHP) 2.

To connect to the MySql database, write the following string:

 
 
  1. server=localhost;user id=root;password=123;database=test;charset=gbk;pooling=false 

The charset and pooling items are optional.

Click the "test connection" button after writing it. OK. The connection is successful!

3. You can check the Language Mapping and Database Target Mapping to find out how to select them, because there is only one choice.

Save it and enter the wonderful world of MyGeneration.

 

The above content is an introduction to the solutions for MyGeneration to connect to the MySql database.

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.