소스 정보
- 저장소
- olasunkanmi-SE/codebuddy
- 최근 소스 활동
- 2026년 3월 8일 03:01
- 감지된 SKILL.md 언어
- 영어
- 스타
- 141
- 포크
- 44
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
파일 탐색기
2 개 파일SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- mysql
- description
- Manage MySQL databases via the mysql CLI.
- metadata
- {"displayName":"MySQL","icon":"database","category":"databases","version":"1.0.0","dependencies":{"cli":"mysql","checkCommand":"mysql --version","bundledInstall":"skills/mysql/install.sh","install":{"darwin":"[Truncated]","linux":"[Truncated]","windows":"[Truncated]"}},"config":[{"name":"MYSQL_HOST","label":"Host","type":"string","required":false,"placeholder":"localhost"},{"name":"MYSQL_PORT","label":"Port","type":"string","required":false,"placeholder":"3306"}],"auth":{"type":"basic"}}
# mysql
Use `mysql` to interact with MySQL databases.
## Setup
The `mysql` client is installed in `.codebuddy/bin/`.
You can execute it directly or add it to your PATH.
## Common Commands
### Connection
- Connect: `.codebuddy/bin/mysql -h <host> -P <port> -u <user> -p`
- Connect (Docker example): `.codebuddy/bin/mysql -h 127.0.0.1 -P 3306 -u root -p`
### Quick Alias
To make it easier to run, you can alias it in your shell:
`alias mysql="./.codebuddy/bin/mysql"`
### Operations
- Show databases: `SHOW DATABASES;`
- Use database: `USE <dbname>;`
- Show tables: `SHOW TABLES;`
- Describe table: `DESCRIBE <table_name>;`
- Execute query: `SELECT * FROM table LIMIT 10;`
- Quit: `exit`
## Notes
- The binary is located at: `.codebuddy/bin/mysql`
- Password can be supplied via `MYSQL_PWD` environment variable (careful!) or typically prompted interactively.
GitHub에서 보기