You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,16 +116,14 @@ If `MYSQL_TUPLES` are passed as the last argument, then tuples will be returned
116
116
# How to solve MySQL library not found error
117
117
118
118
This error may occur during `using MySQL`. To resolve this-
119
-
* Ubuntu: Just add the MariaDB/MySQL .so file to lib_choices array in src/config.jl. If it is already there
120
-
make sure LD_LIBRARY_PATH contains the MariaDB/MySQL .so file directory path. Usually this is something like
121
-
`/usr/local/lib/mariadb/`.
122
-
* OSX: Same as above. In this case the file will be something like libmysqlclient.dylib.
123
-
* Windows: The file will be picked up automatically if MySQL is installed correctly. If you still get the error add the location of libmysql.dll to PATH.
119
+
***Ubuntu**: Just add the MariaDB/MySQL `.so` file to the `lib_choices` array in `src/config.jl` (the system file is at `~/.julia/v0.7/MySQL/src/config.jl`). If it is already there make sure `LD_LIBRARY_PATH` contains the MariaDB/MySQL `.so` file directory path. Usually this is something like `/usr/local/lib/mariadb/`.
120
+
***OSX**: Same as above. In this case the file will be something like `libmysqlclient.dylib`. Homebrew users should look in `/usr/local/Cellar/mysql`.
121
+
***Windows**: The file will be picked up automatically if MySQL is installed correctly. If you still get the error add the location of `libmysql.dll` to PATH.
124
122
125
123
# Tests
126
124
127
-
To run the tests you must have MySQL server running on the host. Set the constants HOST and ROOTPASS
128
-
in test/runtests.jl to the host and root password on your test setup. Run the tests using:
125
+
To run the tests you must have MySQL server running on the host. Set the constants HOST and ROOTPASS
126
+
in `test/runtests.jl` to the host and root password on your test setup. Run the tests using:
0 commit comments