zoukankan      html  css  js  c++  java
  • Local database deployment problems and fixtures

    /*By Jiangong SUN*/


    After encountering some problems in deploying databases to local server, here are some tips which could 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 could happen when you generate the database script.
    If you have this problem, build the project and retry.


    In Step 2 you could meet a problem like : the script file could 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!

  • 相关阅读:
    vscode常用插件列表
    使用docker构建supervisor全步骤
    docker删除虚悬镜像(临时镜像文件)
    消息队列的对比
    ECharts使用:this.dom.getContext is not a function
    curl命令行请求
    工作工具清单
    《SQL优化入门》讲座总结
    初始化git库并配置自动部署
    php代码进行跨域请求处理
  • 原文地址:https://www.cnblogs.com/gcczhongduan/p/5071059.html
Copyright © 2011-2022 走看看