Re: Odd problem issueing commands at the console
You must have an rpm installation of mysql and your source installation. Check to see if there are mysql* commands within /usr/bin directory. It's going to search there first, then /usr/local/bin. The commands within /usr/bin are going to look for the mysql-everthing within /var/lib/ Jonathan - Original Message - From: Peter Matulis [EMAIL PROTECTED] To: Mysql (E-mail) [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 12:02 PM Subject: Odd problem issueing commands at the console Just installed 3.23.37 on Red Hat 7.0 from source. I've done this a few times but this time I encountered a mysterious problem. a) server is started and runs under my designated user (mysqladm:mysqlgrp) b) /usr/local/mysql/bin is in PATH of both root and mysqladm c) using either of these users, when I issue a mysql command (here mysqlshow): mysqlshow: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) d) when I cd to /usr/local/mysql/bin and issue the command as shown it succeeds: $ ./mysqlshow +-+ | Databases | +-+ | mysql | | test | +--+ What's going on here? Peter Matulis - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Using MySQL for web authentication and others..
There is an apache module called mod_auth_mysql that will allow you to do this. You can download it from the mysql site at http://www.mysql.com/downloads/contrib.html I'm not sure if it's still maintained or anything because I can no longer to the site at http://bourbon.netvision.net.il/mod_auth_mysql/ - Original Message - From: "--==[bMan]==--" [EMAIL PROTECTED] To: "MySQL List" [EMAIL PROTECTED] Sent: Sunday, January 28, 2001 8:05 PM Subject: Using MySQL for web authentication and others.. I just want to ask a quick question which is probably only indirectly related to this group. Where can I find some useful info on how to integrate MySQL into Apache authentication scheme? Basically, I want to use MySQL database to store users' ids and passwords rather than .htpasswd file generated by Apache's htpasswd program. Thanks. -- Bolek, URL: http://www.bolek.com URL: http://slash.bolek.com e-mail: [EMAIL PROTECTED] ICQ: 4086197, Address: 402905326 - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: What now?
Is /usr/local/mysql/bin/ within your PATH environment? What happens when you type the full path to the command: /usr/local/mysql/bin/mysql ? Jonathan - Original Message - From: "Evan James Dembskey" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 25, 2001 9:24 AM Subject: What now? Hi, I followed the instructions in the manual for installing the MySQL source distribution. I used mysql-3.23.32.tar.gz under CLOS 1.2 and everything seems to have gone smoothly - there were no error messages. If I run ps I see that something called safe_mysqld is running. However, no matter in which directory or under which user I run mysql I get the error "command not found". However, the file mysql does exist in the /usr/local/mysql/bin directory. As I saw no error messages, and I don't know where to look for any, this is all the info I have. What could I have done wrong? Where can I start looking for a solution? Regards, Evan - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php