Margin Master Handbook
- Prerequisites
- Firewall and Network Requirements
- Microsoft Edge Download Block
- SQL Server Authentication Setup for IT Administrators
- Antivirus and Endpoint Security Exclusions
- SQL Server Tools
- Install or Upgrade SQL Server Express
- Install or Upgrade SQL Server Management Studio
- A Tour of the Main Window
- The Menus
- The Button Row
- The Main Data Grid
- The Summary Section
- Banners and Badges
- The Options Window
- Store Configuration
- Miscellaneous
- Export Options
- Vendor Settings
- POS / Connections Tabs
- Background Service
- AI Assistant (Experimental)
- How POS Import Works
- Supported Point-of-Sale Systems
- Data Import Workflows
- RockSolid POS Import
- Epicor Eagle FTP Import
- Epicor MySQL Compass Import
- Transact POS Import
- Paladin POS Import
- Falcon POS Import
- Spruce POS Import
- Bistrack POS Import
- RockSolid Max POS Import
- ECS POS Import
- Prosperity POS Import
- Catalyst POS Import
- Westlake POS Import
- MI9 POS Import
- AS/400 POS Import
- CounterWorks POS Import
- Dimension POS Import
- PacSoft POS Import
- ProStix POS Import
- Sympac POS Import
- Propello POS Import
- EagleVision POS Import
- MySQL/Compass Connection Configuration
- ECI VPN Requirement (Spruce, RockSolid MAX)
- Propello POS Integration Guide
- MI9 Data Pipeline — Import to Main Table
- Troubleshooting: Epicor Import Brought In 0 SKUs
- PACE POS Import
- Advantage POS Import
- General Store POS Import
- J-3 POS Import
- KeyStroke POS Import
- AutBusSystem POS Import
- Tomax POS Import
- Enterprise POS Import
- Computakey POS Import
- Redisell POS Import
- DART POS Import
- MIB POS Import
- Substruct POS Import
- DMAS POS Import
- RODS POS Import
- Procom POS Import
- Agility POS Import
- Acumen POS Import
- Cruise POS Import
- LSandE POS Import
- Retalix POS Import
- DIBCorp POS Import
- GMROI POS Import
- ECi Advantage POS Import
- Sunray POS Import
- ActivantAutomotive POS Import
- IBS POS Import
- Versys POS Import
- RMS POS Import
- TAMS POS Import
- Integrasoft POS Import
- Dynamic POS Import
- Microsoft ARS POS Import
- CDS POS Import
- Spartan POS Import
- Nitterhouse POS Import
- Jeds POS Import
- Theisens POS Import
- Emery Jensen POS Import
- SMS Pro POS Import
- Burdens POS Import
- Intact POS Import
- Bloom Retail POS Import
- NCR Counterpoint POS Import
- Horizon POS Import
- Cloud Vendor Data Sync
- Data Aging and Freshness Warnings
- Resetting Vendor and POS Data
- Rebuild Data and Rebuild Selection Lists
- Troubleshooting Vendor Sync
- Understanding the Strategy Hierarchy
- Pricing Strategies
- Creating a Strategy Step
- Updating and Deleting Steps
- Reviewing a Strategy and Running It
- Shared (Premade) Strategies
- SKU-Level Exceptions
- Manage Custom Groups
- Strategy Execution Cloud Tracking
- Importing from Excel
- Cost Break Analysis
- Cost Break Strategies
- Min/Max Strategies
- Strategy Backup & Restore
- Add Items from Catalog
- Store Grouping
- Data Diagnostics and Missing Index Recommendations
- System Diagnostics
- Margin Master Cannot Save Settings
- SQL Server 2025 Express vs. Full License
- Support Issue Management
- Catalog Lookup
- What's New After an Update
- Version History
- Documentation and the Help Buttons
- CTLD — Do It Best Catalog File
- MARGIN_MASTER — Ace Catalog File
- PCDITEMXREF — Do It Best SKU Classification File
- SAP_ZONE_PRICE_MARGIN_MASTER — Ace Zone Pricing File
- PCDPRODCLASS — Do It Best Product Classification Hierarchy File
- SAP_STORE_DEPT_ZONE_MARGIN_MASTER — Ace Store Zone Assignment File
- Taxonomy — Ace Product Classification File
- Mapp_Pricing — Ace MAP & IMAP Pricing File
- margin_mstr_plano — Ace Planogram File
On This Page
MySQL/Compass Connection Configuration
What is this?
Epicor stores that use the Compass data warehouse connect Margin Master to a MySQL database to import POS inventory and sales data. This screen configures the MySQL connection credentials and import behavior. Once configured and verified, Margin Master can pull store data directly from the Compass MySQL server instead of using FTP file imports.
Who is this for?
- Epicor hardware stores using the Compass data warehouse for inventory management
- Support staff setting up or troubleshooting MySQL connections for Epicor customers
Prerequisites
Before configuring Margin Master, the Epicor Eagle server must be set up to allow connections. If this is a new store setup, see Epicor Eagle: Enabling Margin Master Access first.
Opening / Accessing
- From the main menu, select Options
- Navigate to the Epicor tab under POS / Connections, and check Connect via MySQL / Compass
The Epicor tab is only visible when the store's POS system is set to Epicor. The MySQL connection settings appear once Connect via MySQL / Compass is checked; otherwise the direct Epicor FTP connection is shown.
MySQL Connection
These fields define how Margin Master connects to your Compass MySQL server.

- Connect via MySQL / Compass - checked.
- MySQL Connection - Server, Port, Database, Username, Password, Auth/SSL and Prime Vendor.
- Compass Options.
- Test & Save Connection / Troubleshoot Connection...
- Restore from Cloud... / Reset to Defaults.
- Open Store Manager...
| Field | Description | Default |
|---|---|---|
| Server | IP address or hostname of the MySQL server | 10.192.255.3 |
| Port | MySQL port number | 3306 |
| Database | Name of the Compass data warehouse database | EAGLEDW |
| Username | MySQL login username | dbread |
| Password | MySQL login password | (pre-filled) |
| Prime Vendor | Pipe-delimited list of vendor codes to filter imports (e.g., VENDOR1\|VENDOR2). If blank, all vendors are imported. Only SKUs whose in_primary_vendor matches a listed vendor will be included. |
(blank) |
Compass Options
| Option | Description |
|---|---|
| Connect via MySQL / Compass | Master switch -- enables MySQL-based data import instead of Epicor FTP. When unchecked, the MySQL connection settings are hidden and the direct Epicor FTP connection is shown instead. |
| Use new MySQL connector (beta) | Uses the modern MySqlConnector driver instead of the legacy MySql.Data driver. Save & Test or Troubleshoot to apply; the connection report shows which driver is active. |
| Use Average Cost | When checked, the import uses average cost instead of replacement cost for pricing calculations. |
| Export Raw Data (Single Use) | When checked, the next MySQL import will export the raw data received from the Compass server. This is a single-use flag -- it resets automatically after one import cycle. Useful for diagnostics. |
Save & Test Connection
Click Test & Save Connection to save your settings and verify the MySQL connection.
What happens when you click Save & Test:
- All connection credentials and options are saved immediately
- If Use MySql/Compass is unchecked, settings are saved without testing
- If Use MySql/Compass is checked, Margin Master attempts to connect to the MySQL server
- On success, a green Verified indicator appears and a success message is shown
- On failure, the Use MySql/Compass flag is automatically turned off and an error message displays the connection problem
Settings are always saved before testing. If the test fails, your credentials are preserved for next time -- only the "Use MySql/Compass" flag is turned off.
Troubleshoot Connection
When a connection won't work — especially the recurring Epicor case where it's unclear why — click Troubleshoot Connection… (next to Test & Save). Unlike Test & Save, which stops at the first problem, the troubleshooter runs every check and shows a pass/warn/fail checklist, each with a specific fix. It saves the on-screen settings first, then runs:
| Check | What it tells you |
|---|---|
| Connection settings | Whether Server, Port, Database and Username are filled in |
| Host resolution | Whether the Server name/IP resolves to an address (DNS) |
| Connection path | Whether the server is on the same network as this PC, or reached over a VPN, a routed/WAN link, a Remote Desktop/Citrix session, or a remotely-hosted (public) server such as Epicor Hosted/Cloud Eagle — the single most common cause of Epicor connection trouble |
| Reachability (ping) | Whether the server answers a ping (many servers block ping, so this is informational) |
| TCP port open | Whether the MySQL port is reachable, or blocked by a firewall / not listening. If your port is closed but MySQL answers on another port, it tells you which one |
| MySQL login | Whether the username/password log in (and whether a no-password or SSL-disabled fallback was needed) |
| Database access | Whether the configured database is reachable |
| IN table data | Whether inventory rows are present |
| Link quality & timeout risk | Measures latency, jitter and read speed, and warns when the link is slow enough to cause import timeouts |
When it finishes, click Copy Report to put the full results on the clipboard — paste them into a support ticket so the exact diagnosis travels with your request.
Slow connection = timeouts. If the troubleshooter reports a VPN/remote path or high latency, that is usually why imports time out. The most reliable fix is to run Margin Master on a PC on the same local network as the Eagle server, rather than over a VPN or Remote Desktop. Enabling Use Streaming Import and importing during off-peak hours also help.
Scan for MySQL Servers
If you don't know the server's address, click the magnifying-glass button next to the Server field to scan the local network. The scan probes each host on your subnet across the common MySQL ports and, for every open port, attempts a real MySQL handshake — so results clearly distinguish a confirmed MySQL server (with its version, and whether your credentials work) from a port that merely happens to be open. A progress bar shows how far the scan has reached. Double-click a discovered server (or select it and click Use Selected Server) to fill in the Server field.
A network scan only finds servers on your local network. A remotely-hosted server (e.g. Epicor Hosted/Cloud Eagle) won't appear — use the exact host and port Epicor provided.
Tips
- Verify that the MySQL server is reachable from the store's network before configuring
- The default credentials (
dbread/ port3306/ databaseEAGLEDW) work for most standard Compass installations - Use the Prime Vendor field to limit imports to specific vendors if the store only carries products from certain suppliers
- The Export Raw Data option is helpful when troubleshooting import issues -- it captures exactly what Margin Master receives from the MySQL server
Common Questions
Q: Why can't I see the MySQL connection settings? A: They live on the Epicor tab, which only appears when the store's POS system is set to Epicor (check your store configuration under Options > Store Information), and the MySQL settings show only when Connect via MySQL / Compass is checked. Unchecked, the tab shows the direct Epicor FTP connection instead.
Q: The connection test failed. What should I check? A: Verify that: (1) the server IP address is correct and reachable, (2) the port is open and not blocked by a firewall, (3) the username and password are correct, (4) the database name matches your Compass installation.
Q: What is the difference between MySql Import Manager and the standard import? A: The MySql Import Manager is a newer import pipeline. Both connect to the same Compass MySQL database, but the Import Manager uses an optimized process. Your Margin Master representative can advise which option is best for your store.
Q: When should I use Average Cost? A: Most stores use replacement cost (the default). Average cost may be preferred if your accounting system tracks inventory at average cost rather than last-received cost. Consult your accountant or Margin Master support if unsure.
