From owner-freebsd-questions Fri Feb 7 10:41:40 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29FD937B401 for ; Fri, 7 Feb 2003 10:41:38 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3371E43FD7 for ; Fri, 7 Feb 2003 10:41:35 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com (Exim 4.12 #1 (FreeBSD)) protocol: local id 18hDQE-000B7n-00 for ; Fri, 07 Feb 2003 21:40:22 +0300 Date: Fri, 7 Feb 2003 21:40:22 +0300 From: Odhiambo Washington To: FBSD-Q Subject: MySQL Replication Script Message-ID: <20030207184022.GA40624@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , FBSD-Q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: The study of non-linear physics is like the study of non-elephant biology. X-Operating-System: FreeBSD 4.7-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.1i (2002-05-02) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 9:34PM up 5 days, 8:54, 1 user, load averages: 0.40, 0.34, 0.34 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hiya, being a perl novice, I am wondering if someone has managed to use one nifty script written by Matt Simmerson for mysql replication. The script is here: http://matt.simerson.net/computing/sql/mysql_replicate_manager.pl Problem is simple for me - it just refuses to take my commands wash@ns2 -> ./mysql_replicate_manager.pl -u root -p MYPASS -i **** **** MySQL Replication Manager 1.3.3 **** **** by Matt Simerson DBI connect('database=mysql:host=localhost:port=3306','root',...) failed: Access denied for user: 'root@localhost' (Using password: NO) at ./mysql_replicate_manager.pl line 656 db connect failed: wash@ns2 -> mysql --user=root --password=MYPASS Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 555723 to server version: 3.23.54-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> Someone possibly sees what the issue is at line 656 ??? Thanks -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) Like the ski resort of girls looking for husbands and husbands looking for girls, the situation is not as symmetrical as it might seem. -- Alan McKay To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message