mysql problem

James Gray james at gray.net.au
Sat Apr 26 00:48:11 UTC 2008


On 26/04/2008, at 10:12 AM, Karl Larsen wrote:

> James Gray wrote:
>>
>> On 26/04/2008, at 9:44 AM, Karl Larsen wrote:
>>
>>>   The apt-get install did get the mysql packages and installed them
>>> properly. But my old book is not correct I think for this version 5.
>>> When I try to get the version, or anything else with mysqladmin it  
>>> does
>>> this:
>>>
>>> karl at karl-desktop:~$ mysqladmin -p secret version
>>> Enter password:
>>> mysqladmin: connect to server at 'localhost' failed
>>> error: 'Access denied for user 'karl'@'localhost' (using password:  
>>> YES)

-->8-- Snipped

>> Bottom line, "sudo mysql" can't hurt :)
>>
>> Cheers,
>>
>> James
>    Very good James it did work when I tried $ sudo mysql -p and it
> asked for a password I gave while it was setting up. Now I have a:
>
> karl at karl-desktop:~$ sudo mysql -p
> Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 8
> Server version: 5.0.45-Debian_1ubuntu3.3-log Debian etch distribution
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql>
>
> many thanks!

Awsome :) Glad I could help.

-- 
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080426/06186a75/attachment-0001.bin>


More information about the ubuntu-users mailing list