<DIV>That explains it :) I am using Redhat Enterprise Server ES. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Thx<BR><BR><B><I>Daniel-Constantin Mierla &lt;daniel@voice-system.ro&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On 07/04/05 15:48, Dave wrote:<BR><BR>&gt; Strange. I ran the script twice and got the same results.<BR>&gt; <BR>&gt; Yes, since I am loggeds in as root, environment variable USERNAME is <BR>&gt; automatically set to root.<BR><BR>This is the problem, the script uses a variable named USERNAME and <BR>before setting it to "openser" checks if it is already set. What <BR>distribution do you use? In debian $USER is set to local user id. I will <BR>change the name of this variable.<BR><BR>You can create a ".opensermysqlrc" file in your home directory and put <BR>there:<BR>USERNAME="openser"<BR><BR>Daniel<BR><BR>&gt; <BR>&gt; "openser" user in the database is never created.<BR>&gt; <BR>&gt; For now I have manually fixed the problem.<BR>&gt; <BR>&gt; Thx<BR>&gt;<BR>&gt; */Daniel-Constantin Mierla <DANIEL@VOICE-SYSTEM.RO>/* wrote:<BR>&gt;<BR>&gt; Hello,<BR>&gt;<BR>&gt;<BR>&gt; On 07/04/05
 15:12, Dave wrote:<BR>&gt;<BR>&gt; &gt; Seems there is a bug in the openser_mysql.sh script. Running it<BR>&gt; screws<BR>&gt; &gt; up that root password in mysql and changes it to "openserrw". It<BR>&gt; also<BR>&gt; &gt; does not create a user "openserrw".<BR>&gt;<BR>&gt; I have tested and for me everything seems to be ok. root password<BR>&gt; is the<BR>&gt; same. The username that should be created is "openser" and<BR>&gt; password is<BR>&gt; "openserrw". Do you have an environment variable "USERNAME" set to<BR>&gt; "root"?<BR>&gt;<BR>&gt; Daniel<BR>&gt;<BR>&gt; &gt;<BR>&gt; &gt; Deepak<BR>&gt; &gt;<BR>&gt; &gt; __________________________________________________<BR>&gt; &gt; Do You Yahoo!?<BR>&gt; &gt; Tired of spam? Yahoo! Mail has the best spam protection around<BR>&gt; &gt; http://mail.yahoo.com<BR>&gt; &gt;<BR>&gt; &gt;------------------------------------------------------------------------<BR>&gt; &gt;<BR>&gt; &gt;_______________________________________________<BR>&gt;
 &gt;Users mailing list<BR>&gt; &gt;Users@openser.org<BR>&gt; &gt;http://openser.org/cgi-bin/mailman/listinfo/users<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt;<BR>&gt; __________________________________________________<BR>&gt; Do You Yahoo!?<BR>&gt; Tired of spam? Yahoo! Mail has the best spam protection around<BR>&gt; http://mail.yahoo.com<BR>&gt;<BR>&gt;------------------------------------------------------------------------<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;Users mailing list<BR>&gt;Users@openser.org<BR>&gt;http://openser.org/cgi-bin/mailman/listinfo/users<BR>&gt; <BR>&gt;<BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com