I did build myself, actually, but I fixed the PATH and ran it again. It created the database. Thanks for the help. :-)
Peter On Oct 12, 2011, at 11:34 AM, Timo Reimann <timo.reim...@1und1.de> wrote: > On 12.10.2011 20:26, Peter Schrock wrote: >> Yes, I was just verifying the mysql installation before I installed >> kamailio. Although, I do have to type the full path name to open the >> client. Do you think this is the problem? I will try by setting this up. > > This means that the mysql binary is not in a directory found in $PATH. > So one way to fix this is to extend $PATH to cover the location where > mysql is installed. > > If you installed mysql from your distribution's package manager, > however, this should already be the case. You possibly didn't compile > and install (or not install) mysql yourself, did you? > > > Cheers, > > --Timo > > > >> On Oct 12, 2011, at 1:52 AM, davy van de moere >> <davy.van.de.mo...@gmail.com <mailto:davy.van.de.mo...@gmail.com>> wrote: >> >>> Are you sure you have mysql-client installed ? >>> >>> (check with just typing mysql in your shell) >>> >>> >>> 2011/10/12 Peter Schrock >>> <<mailto:peter.schr...@gmail.com>peter.schr...@gmail.com >>> <mailto:peter.schr...@gmail.com>> >>> >>> This is what I am getting: >>> INFO: test server charset >>> /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 105: mysql: >>> command not found >>> /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 106: mysql: >>> command not found >>> Usage: grep [OPTION]... PATTERN [FILE]... >>> Try `grep --help' for more information. >>> /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 112: [: =: >>> unary operator expected >>> INFO: creating database openser ... >>> /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 71: mysql: >>> command not found >>> ERROR: Creating core database and grant privileges failed! >>> >>> I looked at the files and cannot find the problem. Please help. >>> >>> Peter _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users