I was able to reconnect after using mysql -u -p mythconverg<br>
and then it prompted me for the password.<br>
<br>
Thanks guys ;)<br><br><div><span class="gmail_quote">On 9/9/05, <b class="gmail_sendername">Ryan Pisani</b> &lt;<a href="mailto:mythtv@frouse3.homelinux.com">mythtv@frouse3.homelinux.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
try connecting like this:<br><br>mysql -uroot -pmypassword mythconverg<br><br>leave the spaces out.<br><br><br>Ryan<br><br>&gt; Ok, i read section 6.2 again and this is what i get when i try<br>&gt; $ mysql -u root mythconverg
<br>&gt; ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using<br>&gt; password: NO)<br>&gt;<br>&gt; so i checked this file .mysql_history and get this<br>&gt;<br>&gt; # cat .mysql_history<br>&gt; UPDATE user SET Password=PASSWORD('mypassword') WHERE user='root';
<br>&gt; FLUSH PRIVILEGES;<br>&gt;<br>&gt; So then i try this.<br>&gt;<br>&gt; mysql -u root -p 'mypassword' mythconverg<br>&gt;<br>&gt; and i get this.<br>&gt;<br>&gt; mysql Ver 14.7 Distrib 4.1.12, for redhat-linux-gnu (i386) using readline
<br>&gt; 4.3<br>&gt; Copyright (C) 2002 MySQL AB<br>&gt; This software comes with ABSOLUTELY NO WARRANTY. This is free software,<br>&gt; and you are welcome to modify and redistribute it under the GPL license<br>&gt; Usage: mysql [OPTIONS] [database]
<br>&gt; -?, --help Display this help and exit.<br>&gt; -I, --help Synonym for -?<br>&gt; --auto-rehash Enable automatic rehashing. One doesn't need to use<br>&gt; 'rehash' to get table and field completion, but startup<br>
&gt; and reconnecting may take a longer time. Disable with<br>&gt; --disable-auto-rehash.<br>&gt; -A, --no-auto-rehash<br>&gt; No automatic rehashing. One has to use 'rehash' to get<br>&gt; table and field completion. This gives a quicker start of
<br>&gt; mysql and disables rehashing on reconnect. WARNING:<br>&gt; options deprecated; use --disable-auto-rehash instead.<br>&gt; -B, --batch Don't use history file. Disable interactive behavior.<br>&gt; (Enables --silent)
<br>&gt; --character-sets-dir=name<br>&gt; Directory where character sets are.<br>&gt; --default-character-set=name<br>&gt; Set the default character set.<br>&gt; -C, --compress Use compression in server/client protocol.<br>
&gt; -#, --debug[=#] This is a non-debug version. Catch this and exit<br>&gt; -D, --database=name Database to use.<br>&gt; --delimiter=name Delimiter to be used.<br>&gt; -e, --execute=name Execute command and quit. (Disables --force and history
<br>&gt; file)<br>&gt; -E, --vertical Print the output of a query (rows) vertically.<br>&gt; -f, --force Continue even if we get an sql error.<br>&gt; -g, --no-named-commands<br>&gt; Named commands are disabled. Use \* form only, or use
<br>&gt; named commands only in the beginning of a line ending<br>&gt; with a semicolon (;) Since version 10.9 the client now<br>&gt; starts with this option ENABLED by default! Disable with<br>&gt; '-G'. Long format commands still work from the first
<br>&gt; line. WARNING: option deprecated; use<br>&gt; --disable-named-commands instead.<br>&gt; -G, --named-commands<br>&gt; Enable named commands. Named commands mean this program's<br>&gt; internal commands; see mysql&gt; help . When enabled, the
<br>&gt; named commands can be used from any line of the query,<br>&gt; otherwise only from the first line, before an enter.<br>&gt; Disable with --disable-named-commands. This option is<br>&gt; disabled by default.<br>&gt; -i, --ignore-spaces Ignore space after function names.
<br>&gt; --local-infile Enable/disable LOAD DATA LOCAL INFILE.<br>&gt; -b, --no-beep Turn off beep on error.<br>&gt; -h, --host=name Connect to host.<br>&gt; -H, --html Produce HTML output.<br>&gt; -X, --xml Produce XML output
<br>&gt; --line-numbers Write line numbers for errors.<br>&gt; -L, --skip-line-numbers<br>&gt; Don't write line number for errors. WARNING: -L is<br>&gt; deprecated, use long version of this option instead.<br>&gt; --no-pager Disable pager and print to stdout. See interactive help
<br>&gt; (\h) also. WARNING: option deprecated; use<br>&gt; --disable-pager instead.<br>&gt; --no-tee Disable outfile. See interactive help (\h) also. WARNING:<br>&gt; option deprecated; use --disable-tee instead<br>&gt; -n, --unbuffered Flush buffer after each query.
<br>&gt; --column-names Write column names in results.<br>&gt; -N, --skip-column-names<br>&gt; Don't write column names in results. WARNING: -N is<br>&gt; deprecated, use long version of this options instead.<br>&gt; -O, --set-variable=name
<br>&gt; Change the value of a variable. Please note that this<br>&gt; option is deprecated; you can set variables directly with<br>&gt; --variable-name=value.<br>&gt; --sigint-ignore Ignore SIGINT (CTRL-C)<br>&gt; -o, --one-database Only update the default database. This is useful for
<br>&gt; skipping updates to other database in the update log.<br>&gt; --pager[=name] Pager to use to display results. If you don't supply an<br>&gt; option the default pager is taken from your ENV variable<br>&gt; PAGER. Valid pagers are less, more, cat [&gt; filename],
<br>&gt; etc. See interactive help (\h) also. This option does not<br>&gt; work in batch mode.<br>&gt; -p, --password[=name]<br>&gt; Password to use when connecting to server. If password is<br>&gt; not given it's asked from the tty.
<br>&gt; -P, --port=# Port number to use for connection.<br>&gt; --prompt=name Set the mysql prompt to this value.<br>&gt; --protocol=name The protocol of connection (tcp,socket,pipe,memory).<br>&gt; -q, --quick Don't cache result, print it row by row. This may slow
<br>&gt; down the server if the output is suspended. Doesn't use<br>&gt; history file.<br>&gt; -r, --raw Write fields without conversion. Used with --batch.<br>&gt; --reconnect Reconnect if the connection is lost. Disable with
<br>&gt; --disable-reconnect. This option is enabled by default.<br>&gt; -s, --silent Be more silent. Print results with a tab as separator,<br>&gt; each row on new line.<br>&gt; -S, --socket=name Socket file to use for connection.
<br>&gt; --ssl Enable SSL for connection (automatically enabled with<br>&gt; other flags). Disable with --skip-ssl.<br>&gt; --ssl-key=name X509 key in PEM format (implies --ssl).<br>&gt; --ssl-cert=name X509 cert in PEM format (implies --ssl).
<br>&gt; --ssl-ca=name CA file in PEM format (check OpenSSL docs, implies<br>&gt; --ssl).<br>&gt; --ssl-capath=name CA directory (check OpenSSL docs, implies --ssl).<br>&gt; --ssl-cipher=name SSL cipher to use (implies --ssl).
<br>&gt; -t, --table Output in table format.<br>&gt; -T, --debug-info Print some debug info at exit.<br>&gt; --tee=name Append everything into outfile. See interactive help (\h)<br>&gt; also. Does not work in batch mode.<br>
&gt; -u, --user=name User for login if not current user.<br>&gt; -U, --safe-updates Only allow UPDATE and DELETE that uses keys.<br>&gt; -U, --i-am-a-dummy Synonym for option --safe-updates, -U.<br>&gt; -v, --verbose Write more. (-v -v -v gives the table output format).
<br>&gt; -V, --version Output version information and exit.<br>&gt; -w, --wait Wait and retry if connection is down.<br>&gt; --connect_timeout=# Number of seconds before connection timeout.<br>&gt; --max_allowed_packet=#<br>
&gt; Max packet length to send to, or receive from server<br>&gt; --net_buffer_length=#<br>&gt; Buffer for TCP/IP and socket communication<br>&gt; --select_limit=# Automatic limit for SELECT when using --safe-updates<br>&gt; --max_join_size=# Automatic limit for rows in a join when using
<br>&gt; --safe-updates<br>&gt; --secure-auth Refuse client connecting to server if it uses old<br>&gt;&nbsp;&nbsp;(pre-4.1.1) protocol<br>&gt;<br>&gt; Default options are read from the following files in the given order:<br>&gt; /etc/my.cnf /var/lib/mysql/my.cnf ~/.my.cnf
<br>&gt; The following groups are read: mysql client<br>&gt; The following options may be given as the first argument:<br>&gt; --print-defaults Print the program argument list and exit<br>&gt; --no-defaults Don't read default options from any options file
<br>&gt; --defaults-file=# Only read default options from the given file #<br>&gt; --defaults-extra-file=# Read this file after the global files are read<br>&gt;<br>&gt; Variables (--variable-name=value)<br>&gt; and boolean options {FALSE|TRUE} Value (after reading options)
<br>&gt; ------------------------------ --- -----------------------------<br>&gt; auto-rehash TRUE<br>&gt; character-sets-dir (No default value)<br>&gt; default-character-set latin1<br>&gt; compress FALSE<br>&gt; database (No default value)
<br>&gt; delimiter ;<br>&gt; vertical FALSE<br>&gt; force FALSE<br>&gt; named-commands FALSE<br>&gt; local-infile FALSE<br>&gt; no-beep FALSE<br>&gt; host (No default value)<br>&gt; html FALSE<br>&gt; xml FALSE<br>&gt; line-numbers TRUE
<br>&gt; unbuffered FALSE<br>&gt; column-names TRUE<br>&gt; sigint-ignore FALSE<br>&gt; port 3306<br>&gt; prompt mysql&gt;<br>&gt; quick FALSE<br>&gt; raw FALSE<br>&gt; reconnect TRUE<br>&gt; socket (No default value)<br>
&gt; ssl FALSE<br>&gt; ssl-key (No default value)<br>&gt; ssl-cert (No default value)<br>&gt; ssl-ca (No default value)<br>&gt; ssl-capath (No default value)<br>&gt; ssl-cipher (No default value)<br>&gt; table FALSE<br>&gt; debug-info FALSE
<br>&gt; user root<br>&gt; safe-updates FALSE<br>&gt; i-am-a-dummy FALSE<br>&gt; connect_timeout 0<br>&gt; max_allowed_packet 16777216<br>&gt; net_buffer_length 16384<br>&gt; select_limit 1000<br>&gt; max_join_size 1000000
<br>&gt; secure-auth FALSE<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br><br></blockquote></div><br>