Getting Started
This guide will help you get up and running with the SQL Replication Extension for VS Code.
Installation
- Open VS Code
- Press
Ctrl+P
(Windows/Linux) orCmd+P
(macOS) - Type
ext install sqlrepl
- Click "Install"
Prerequisites
Before using the extension, ensure you have:
- SQL Server 2016 or higher installed
- Appropriate permissions to configure replication
- SQL Server Agent running on your instance
First Steps
-
Open the SQL Replication View
- Click the SQL Replication icon in the Activity Bar
- Or use the command palette (
Ctrl+Shift+P
) and type "SQL Replication: Show Explorer"
-
Add a Connection
- Click the "+" button in the SQL Replication view
- Enter your server details:
Server: your-server-name Authentication: SQL Server or Windows Username: your-username (if using SQL Server auth) Password: your-password (if using SQL Server auth)
-
Configure Distributor
- Right-click your server in the tree view
- Select "Configure Distribution"
- Follow the wizard to set up distribution
Next Steps
- Learn how to create publications
- Set up subscriptions
- Monitor your replication status
Troubleshooting
If you encounter any issues:
- Check the Output panel (
Ctrl+Shift+U
) and select "SQL Replication" from the dropdown - Verify SQL Server Agent is running
- Ensure you have appropriate permissions
- See our troubleshooting guide for more help
Need Help?
- Check our documentation
- File issues on GitHub