Local database deployment problems and fixtures, deploymentfixtures

Source: Internet
Author: User

Local database deployment problems and fixtures, deploymentfixtures

/* By Jiangong SUN */


After encountering some problems in deploying databases to local server, here are some tips which cocould be helpful in the database deployment exercises.


When you deploy your databases. You can monitor the progress in "Data Tools Operations" view.


The deployment can have all the following steps:


Step 1. Creating publish preview
Step 2. Creating database script
Step 3. Executing publish script on database 'your database '.
Step 4. Publish completed successfully



In my experience, the failure in Step 1 cocould happen when you generate the database script.
If you have this problem, build the project and retry.


In Step 2 you cocould meet a problem like: the script file cocould not be found
In this case, just locate your project folder and find the file "{DB_Name}. dbmdl" and delete it. Then retry.
In other cases, if the database script is correctly generated and there is a problem, you can even execute and debug the script "{DB_Name }_{ Publish_Number}. publish. SQL ".


If you meet the problem at Step 3, you can click on "View Results" to locate where the problem is.
If you can't locate the problem, just debug the generated SQL script.


I hope this post can do help to you !!!


Enjoy coding!




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.