Skip to content

(windows) cant connect to mysql #23742

Feb 16, 2025 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

solution

  1. install wsl2 for windows (ubuntu)

  2. open terminal in wsl

  3. sudo apt update

  4. sudo apt install git build-essential

  5. cd /usr/lib
    "/usr/lib" is a dir for langs for ubuntu

  6. inslall V
    git clone --depth=1 https://github.com/vlang/v
    cd v
    make

  7. sudo ./v symlink
    create symlink

  8. sudo apt install libmariadb-dev
    sudo apt install pkg-config
    for mariadb/mysql

ps.
it is worked for my and i am happy ))

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@vodish
Comment options

@Wajinn
Comment options

Comment options

You must be logged in to vote
1 reply
@vodish
Comment options

Answer selected by vodish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants