]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - README.mysql
configure: add two mysql-related command line options
[paraslash.git] / README.mysql
index 92c8c6dc425b03113f5b3e1f31668a57e89ac186..cb657e066da2eca435c149b144a2c50a1ccf0712 100644 (file)
@@ -10,15 +10,19 @@ in INSTALL, so read README and INSTALL before proceeding.
 First of all, make sure that
 
        - mysqld is running
-       - para_server is running and compiled with mysql support (type
-         "para_client si" to find out)
-       - the user who runs para_client has the paraslash DB_WRITE and DB_READ
-         permissions set in server.users
-       - the user who runs para_server has create privileges on the mysql
-         server.
 
-Remember: If something doesn't work as expected, look at the server log file
-and/or increase output verbosity by using the -l switch for server and client.
+       - para_server is running and compiled with mysql support
+       (type "para_client si" to find out)
+
+       - the user who runs para_client has the paraslash DB_WRITE
+       and DB_READ permissions set in server.users
+
+       - the user who runs para_server has create privileges on the
+       mysql server.
+
+Remember: If something doesn't work as expected, look at the server
+log file and/or increase output verbosity by using the -l switch for
+server and client.
 
 
 Specify mysql data (port, passwd,...)
@@ -59,7 +63,12 @@ more info) or that para_server was built without mysql support. Type
        para_client si
 
 to find out. If mysql is not mentioned as a supported selector,
-you'll have to recompile.
+you'll have to recompile. If configure does not detect your mysql
+installation, use the --enable-mysql-headers and --enable-mysql-libs
+options to specify the mysql path explicitly . Example:
+
+       ./configure --enable-mysql-headers=/Library/MySQL/include \
+               --enable-mysql-libs=/Library/MySQL/lib/mysql
 
 
 Create a new database
@@ -171,8 +180,8 @@ the client rather than using temporary files. Like this:
 Example:
 
        Assume you already have an attribute "test" and you'd like to
-       to restrict the set of songs being played to those having the
-       "test" attribute set. Define a new stream "only_test" by
+       to restrict audio streaming to those files having the "test"
+       attribute set. Define a new stream "only_test" by
 
                echo 'accept: IS_SET(test)' | para_client stradd only_test
 
@@ -180,7 +189,7 @@ Example:
 
                para_client cs only_test
 
-       only the desired songs are going to be played.
+       only the desired files are going to be streamed.
 
 There is no need to keep the temporary files containing the stream
 definition since you can always use the strq command to get it back:
@@ -260,8 +269,8 @@ You can then switch to the new stream with
 
 or you can let cron do this for you on a daily basis..
 
-Accept/deny lines affect only the set of admissible songs, but not
-the order in which these songs are played. That's where the score
+Accept/deny lines affect only the set of admissible audio files,
+but not the order in which these are streamed. That's where the score
 expression comes into play.
 
 Scoring