Code Monkey home page Code Monkey logo

Comments (3)

cyyeh avatar cyyeh commented on September 2, 2024

@johnfelipe it's already supported in Wren AI. please refer to the docs for connection setup, thanks!

https://docs.getwren.ai/guide/connect/sqlserver

from wrenai.

cyyeh avatar cyyeh commented on September 2, 2024

Also there is an issue using mssql, we will fix it asap

#581

from wrenai.

johnfelipe avatar johnfelipe commented on September 2, 2024

steps to perform these actions in a Windows environment using Docker and PowerShell. Here's how you can do it:

  1. Turn off all WrenAI-related containers:
    Open PowerShell and run:

    docker stop $(docker ps -q --filter "name=wrenai")
  2. Open PowerShell:
    You can do this by pressing Win + X and selecting "Windows PowerShell" or "Windows PowerShell (Admin)".

  3. Navigate to the WrenAI directory:
    In Windows, the ~/.wrenai directory is typically located in your user folder. Run:

    cd $env:USERPROFILE\.wrenai
  4. Rename .env to .env.txt:

    Rename-Item .env .env.txt
  5. Open .env.txt in Notepad:

    notepad .env.txt
  6. In Notepad, find the line with IBIS_SERVER_VERSION and change its value to msodbc-driver. Save the file and close Notepad.

  7. Rename .env.txt back to .env:

    Rename-Item .env.txt .env
  8. Run docker-compose with the updated .env file:

    docker-compose --env-file .env up -d

These steps should accomplish the tasks you've outlined in a Windows environment. Make sure you have the necessary permissions to modify files in the .wrenai directory and to run Docker commands.

from wrenai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.