Skip to content

Commit

Permalink
updated index.js for Kubernetes deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Amits64 committed Jul 26, 2024
1 parent 0510b9a commit cb996ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ client.collectDefaultMetrics({

// MySQL connection using connection string
const mysqlConnection = mysql.createPool({
host: 'mysql-stock-app.default.svc.cluster.local',
host: 'mysql-stock',
user: 'root',
password: 'Kubernetes@1993',
database: 'accounts'
Expand Down

0 comments on commit cb996ff

Please sign in to comment.