File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
pip uninstall datajoint -y
9
9
10
10
USER root
11
- ENV DJ_HOST fakeservices.datajoint.io
11
+ ENV DJ_HOST db
12
12
ENV DJ_USER root
13
13
ENV DJ_PASS password
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ It is often useful in development to connect to DataJoint's relational database
96
96
Connect as follows to the database running within your developer environment:
97
97
98
98
```
99
- mysql -hfakeservices.datajoint.io -uroot -ppassword
99
+ mysql -hdb -uroot -ppassword
100
100
```
101
101
102
102
### Documentation
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def enable_filepath_feature(monkeypatch):
61
61
@pytest .fixture (scope = "session" )
62
62
def db_creds_test () -> Dict :
63
63
return dict (
64
- host = os .getenv ("DJ_TEST_HOST" , "fakeservices.datajoint.io " ),
64
+ host = os .getenv ("DJ_TEST_HOST" , "db " ),
65
65
user = os .getenv ("DJ_TEST_USER" , "datajoint" ),
66
66
password = os .getenv ("DJ_TEST_PASSWORD" , "datajoint" ),
67
67
)
@@ -70,7 +70,7 @@ def db_creds_test() -> Dict:
70
70
@pytest .fixture (scope = "session" )
71
71
def db_creds_root () -> Dict :
72
72
return dict (
73
- host = os .getenv ("DJ_HOST" , "fakeservices.datajoint.io " ),
73
+ host = os .getenv ("DJ_HOST" , "db " ),
74
74
user = os .getenv ("DJ_USER" , "root" ),
75
75
password = os .getenv ("DJ_PASS" , "password" ),
76
76
)
You can’t perform that action at this time.
0 commit comments