Skip to content

killertux/my-fake-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Fake SQL

Creates a Fake SQL databases and uses Runops to execute the queries.

Set-up

First, start by installing and login into the runops cli. More details here.

Than, copy config.yml.example as config.yml and edit is as you want.

Than, you will need to install rust and cargo in your machine. Details here.

Finally, you can just type cargo run and the fake mysql server will start. You can also compile it as release and run it using cargo run --release.

Connecting with JetBrains

Create a new MySQL data source. As the host use 127.0.0.1 and use the port that you configured in the config.ymlfile. Add a stub user and password. DO NOT type a database.

This should be enough.

Throubleshooting

Follow this answer if you got:

note: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages