![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2005
Beans: 6
|
MySQL - debian-sys-maint account
I zapped the debian-sys-maint account right out of MySql doing a restore from a different distro - what permissions do I need to give this account?
Can anybody with MySql try this: Code:
SHOW GRANTS for 'debian-sys-maint'@'localhost'; |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2005
Beans: 6
|
Re: MySQL - debian-sys-maint account
bump!
Can somebody with mysql server installed help me out here? |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2005
Beans: 6
|
Re: MySQL - debian-sys-maint account
SOLVED
I did it myself by booting up a Live CD. Code:
mysql> show grants for 'debian-sys-maint'@'localhost'; +---------------------------------------------------------------------------------------------------------------------------+ | Grants for debian-sys-maint@localhost | +---------------------------------------------------------------------------------------------------------------------------+ | GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY PASSWORD '1c26de472d9b41cf' WITH GRANT OPTION | +---------------------------------------------------------------------------------------------------------------------------+ Code:
GRANT RELOAD, SHUTDOWN, PROCESS, SHOW DATABASES, SUPER, LOCK TABLES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY PASSWORD '1c26de472d9b41cf' |
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2006
Location: Canada
Beans: 27
|
Re: MySQL - debian-sys-maint account
Hi,
I have the same thing (loaded a dump from other server) and now I get :/etc/init.d$ /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' I've tried: GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY PASSWORD '1c26de472d9b41cf' WITH GRANT OPTION but with no result. I still get the same error on restarting. Is there any way to recover out of this? thanks |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 5
|
Re: MySQL - debian-sys-maint account
Find your debian-sys-maint password in /etc/mysql/debian.cnf.
Then use Code:
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '<password>' WITH GRANT OPTION; |
|
|
|
|
|
#6 |
|
Way Too Much Ubuntu
![]() |
Re: MySQL - debian-sys-maint account
Am a new person here and am learling posting here as this thread interests my current Project.
Thank you
__________________
Love Abhinya (\_./) (O.-) (> <) |
|
|
|
|
|
#7 |
|
Dark Roasted Ubuntu
![]() Join Date: Apr 2006
Beans: 1,012
|
Re: MySQL - debian-sys-maint account
Hi folks,
Ubuntu-6.06.1-LAMP-server-amd64 MySQL - Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (x86_64) using readline 5.1 I have the same problem on restarting MySQL $ sudo /etc/init.d/mysql restart Password: Code:
Stopping MySQL database server: mysqld...failed. /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' Killing MySQL database server by signal: mysqld. Starting MySQL database server: mysqld. /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' satimis@ubuntu:~$ /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' (the cursor hanging here. I suppose waiting for input) Code:
ERROR 1141 (42000): There is no such grant defined for user 'debian-sys-maint' on host 'localhost' Please advise what shall I do? How to fix it? TIA B.R. satimis |
|
|
|
|
|
#8 | |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2006
Location: Jackson, MS
Beans: 37
Gutsy Gibbon Testing
|
Re: MySQL - debian-sys-maint account
Quote:
# Automatically generated for Debian scripts. DO NOT TOUCH! [client] host = localhost user = debian-sys-maint password = tdsclIL73xUw2ip2 socket = /var/run/mysqld/mysqld.sock [mysql_upgrade] user = debian-sys-maint password = tdsclIL73xUw2ip2 socket = /var/run/mysqld/mysqld.sock basedir = /usr |
|
|
|
|
|
|
#9 |
|
Dark Roasted Ubuntu
![]() Join Date: Apr 2006
Beans: 1,012
|
Re: MySQL - debian-sys-maint account
Hi hogman23,
Tks for your advice. I haven't touched mysql sometimes. Strangely I found; $ cat /etc/mysql/debian.cnf Code:
# Automatically generated for Debian scripts. DO NOT TOUCH! [client] host = localhost user = debian-sys-maint password = qsN2OSgfrhI6AFzG socket = /var/run/mysqld/mysqld.sock [mysql_upgrade] host = localhost user = debian-sys-maint password = qsN2OSgfrhI6AFzG socket = /var/run/mysqld/mysqld.sock What are those "password = qsN2OSgfrhI6AFzG"? Tks. B.R. satimis |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Feb 2007
Beans: 2
|
Re: MySQL - debian-sys-maint account
I had the same problem after an upgrade (I use Debian and apt). A new password was generated in /etc/mysql/debian.cnf but my existing mysql DB kept the password configuration as before the upgrade. Overwriting the password (qsN2OSgfrhI6AFzG in previous post) with my mysql password from before the upgrade did the trick. Hope this helps. M
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|