- 🔒 SQL password manager
passwd.webm
🪟 🐧 Windows and Linux: Using uv(recommended)
uv sync
uv run main.pypython -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtpython -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txtuv run main.pyuv run main.py# Activating
.\.venv\Scripts\activate
# Executing
python main.py# Activating the environment
source ./.venv/bin/activate
# Running
python main.pyYou can sneak that in as a warning/note right before users run the app, so they see it before trying to connect to the SQL server. Here's a clean way to add it to your markdown:
⚠️ Important: It is highly recommended that you set a user and password on your SQL/MariaDB server before running the manager
-
Log in as root (the default admin user)
On Linux / WSL / Mac:
sudo mysql -u root
On Windows (Command Prompt or PowerShell):
mysql -u root -p
-
Run the secure installation wizard (if first time):
sudo mysql_secure_installation
-
Create a new user:
CREATE USER 'youruser'@'localhost' IDENTIFIED BY 'yourpassword';
-
Grant privileges to the user:
GRANT ALL PRIVILEGES ON yourdatabase.* TO 'youruser'@'localhost'; FLUSH PRIVILEGES;
-
Update your
.envfile with the new user credentials:DB_USER=youruser DB_PASS=yourpassword DB_SERVER="mysql or mariadb"
This way its:
- Prominent but not intrusive
- Gives both the recommendation and steps
- Keeps your markdown clean and readable
Then good for you, No need to add username passwords on sql
Made with contrib.rocks.
Love from koishi 💚

