When you import a sql dump into your db in XAMPP, you can go into its phpMyAdmin and explicitly set the username and password. Then you can set the same for your local ZC installation.