Skip to content

Commit

Permalink
Merge pull request #13 from Ekleog/feature/network_database
Browse files Browse the repository at this point in the history
Connect to the MySQL database over TCP instead of unix sockets
  • Loading branch information
fishilico committed Oct 12, 2015
2 parents eac4d0d + 1c4c7dd commit 79aad8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
'NAME': CONFIG.get('plataldb.name', 'x5dat'),
'USER': CONFIG.get('plataldb.user', 'web'),
'PASSWORD': CONFIG.get('plataldb.password'),
'HOST': CONFIG.get('plataldb.host', '127.0.0.1'),
'PORT': CONFIG.get('plataldb.port', '3306'),
},
}
DATABASE_ROUTERS = ['backend.dbrouter.SimpleRouter']
Expand Down

0 comments on commit 79aad8f

Please sign in to comment.