Go Back   Rhinocerus > Newsgroup > Newsgroup comp.databases.mysql

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2007, 03:13 PM
lee.hogan@gmail.com
Guest
 
Posts: n/a
Default Mac OS X Newbie - Having difficulty setting a pw for root

Hi,

*Please assist a unix/Mac OS X newbie ~
I just installed the MySQL 5.0.27 binary package for Mac OSX 10.4 and
am having a lot of difficulty with the post-installation processes.
>From what I've read and understand, I need to set a password for the

root user since, by default, the root account initially has no
password. Using a bash shell on Mac OS X 10.4.8, I've tried setting
the password using this command:

/usr/local/mysql/bin/mysqladmin -u root password mynewpassword

Nothing happens after I press enter. However, when I try to login to
mysql as the root user like this:

/usr/local/mysql/bin/mysql -u root

I get the following error message:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO)

I'm extremely new to all of this and installed MySQL to follow along
with a book I'm reading. I'm trying to familarize myself with creating
fast and efficient databases for my company.

Any assistance would be greatly appreciated~
Thank you~

- a MySQL newbie

Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 02-19-2007, 03:24 PM
Captain Paralytic
Guest
 
Posts: n/a
Default Re: Mac OS X Newbie - Having difficulty setting a pw for root

On 19 Feb, 16:13, lee.ho...@gmail.com wrote:
> Hi,
>
> *Please assist a unix/Mac OS X newbie ~
> I just installed the MySQL 5.0.27 binary package for Mac OSX 10.4 and
> am having a lot of difficulty with the post-installation processes.>From what I've read and understand, I need to set a password for the
>
> root user since, by default, the root account initially has no
> password. Using a bash shell on Mac OS X 10.4.8, I've tried setting
> the password using this command:
>
> /usr/local/mysql/bin/mysqladmin -u root password mynewpassword
>
> Nothing happens after I press enter. However, when I try to login to
> mysql as the root user like this:
>
> /usr/local/mysql/bin/mysql -u root
>
> I get the following error message:
>
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: NO)
>
> I'm extremely new to all of this and installed MySQL to follow along
> with a book I'm reading. I'm trying to familarize myself with creating
> fast and efficient databases for my company.
>
> Any assistance would be greatly appreciated~
> Thank you~
>
> - a MySQL newbie


> From what I've read and understand, I need to set a password for the
> root user since, by default, the root account initially has no
> password.

No you don't. If you're just using it on your own local machine for
test purposes and no one else has netrowk access to it then you can
quie happily run with no PW.

Reply With Quote
  #3 (permalink)  
Old 02-19-2007, 03:49 PM
lee.hogan@gmail.com
Guest
 
Posts: n/a
Default Re: Mac OS X Newbie - Having difficulty setting a pw for root

But when I run mysql using this command:

/usr/local/mysql/bin/mysql

and then try creating a database:

mysql> create database mydatabase;

I get the following error msg:

ERROR 1044 (42000): Access denied for user ''@'localhost' to database
'mydatabase'

On Feb 19, 11:24 am, "Captain Paralytic" <paul_laut...@yahoo.com>
wrote:
> On 19 Feb, 16:13, lee.ho...@gmail.com wrote:
>
>
>
> > Hi,

>
> > *Please assist a unix/Mac OS X newbie ~
> > I just installed the MySQL 5.0.27 binary package for Mac OSX 10.4 and
> > am having a lot of difficulty with the post-installation processes.>From what I've read and understand, I need to set a password for the

>
> > root user since, by default, the root account initially has no
> > password. Using a bash shell on Mac OS X 10.4.8, I've tried setting
> > the password using this command:

>
> > /usr/local/mysql/bin/mysqladmin -u root password mynewpassword

>
> > Nothing happens after I press enter. However, when I try to login to
> > mysql as the root user like this:

>
> > /usr/local/mysql/bin/mysql -u root

>
> > I get the following error message:

>
> > ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> > password: NO)

>
> > I'm extremely new to all of this and installed MySQL to follow along
> > with a book I'm reading. I'm trying to familarize myself with creating
> > fast and efficient databases for my company.

>
> > Any assistance would be greatly appreciated~
> > Thank you~

>
> > - a MySQL newbie
> > From what I've read and understand, I need to set a password for the
> > root user since, by default, the root account initially has no
> > password.

>
> No you don't. If you're just using it on your own local machine for
> test purposes and no one else has netrowk access to it then you can
> quie happily run with no PW.



Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Setting up a server workgroup, maybe Stephen McDaniel Newsgroup comp.soft-sys.sas 0 10-11-2007 05:17 PM
newbie at metadata server Peter Crawford Newsgroup comp.soft-sys.sas 1 08-31-2005 03:26 AM



All times are GMT. The time now is 03:43 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.