Ubuntu :: Remove Mysql From Startup?
May 22, 2010
I have installed mysql server on my Ubuntu Lucid AMD64 desktop. I need to run this service only on need. So I prefer not to have this in startup. So I did the following -
1. Deactivated the row entry by name "mysql" from application BootUp-Manager.
2. Run the application sysv-rc-conf and unchecked the checkboxes for all run levels.
3. Run the command "sudo update-rc.d -f mysql remove". Execution completed successfully.
4. Run the command - "sudo service mysql stop". In return I got a message "mysql stop/waiting".
5. Restarted the desktop.
Now when I read through the task manager, I still see a process by name "mysqld" running. I ran the command as mentioned in # 4 above and got the same response. I wanted to know how do I turn off mysql service running from startup permanently. But I still need to run it as and when required.
View 8 Replies
ADVERTISEMENT
May 23, 2011
How can I really, really remove everything related to mysql / mysql-server. I read and tried all kinds of things, but on every reinstall there is still old mysql stuff there, for example an existing password. Even resetting the password does not help.
Reason of removal: it looks like the mysql setup is really corrupt, so I want to remove, and then do a fresh install. Running Ubuntu 11.04 64-bit
sander@R540:~$ sudo apt-get purge mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not installed,
[Code]....
View 4 Replies
View Related
May 3, 2010
I run Ubuntu 10.04. For some reason, MySQL won't start on startup. How do I make it run on startup? I installed it by installing LAMP using tasksel and did everything according to: [URL]. Also, I have another problem: When I try to start/stop/restart mysql in the terminal, the terminal will not give me any prompts after entering the command. E.g., after entering "sudo service mysql start", nothing will happen. Even after waiting for 30min, nothing happens.
View 9 Replies
View Related
Feb 20, 2011
I had a hard drive failure and have recovered (rsync) my backup root filesystem onto a new drive. This all seems to be fine, except that at least two services no longer start: mysql and apache2.I can start successfully both through
Code:
sudo /etc/init.d/mysql start
sudo /etc/init.d/apache2 start
although mysql throws a warning about Upstart. Neither start automatically.My system is Ubuntu 10.04.1 LTS x86_64. Part of my reolution actions has involved a kernel update to 2.6.32-27-generic.I have tried to resolve the mysql issue first:
Code:
sudo update-rc.d -f mysql remove
sudo update-rc.d mysql defaults
Code:
sudo apt-get remove --purge mysql-server
sudo apt-get install mysql-server
adding them /etc/init.d/... start commands to /etc/init.d/rc.local script and to a session startup script
checking the services are in rcX.d (using bum and sysv-rc-conf) Ensuring there's a .conf file in /etc/init (which there is).I can't see anything in syslog which would suggest if the system has tried to start these but failed, but then I may be looking in the wrong place. I think they're not starting at all. I wonder if it's something to do with the restore, perhaps symlinks?
View 4 Replies
View Related
Dec 28, 2010
When my Fedora server boots it fails starting the MySQL server also if i try to start it from a prompt it says "fail" but the funny thing is that it works. Now i could just say "what the hell it works" but i hate seeing the red error on boot. Fedora boot, fail starting MySQL MySQL server works after boot anyway manual start it fails, but also here it works anyway
View 2 Replies
View Related
Sep 16, 2011
I'm running a ubuntu 10.04 box.
I want to enable Mysql on startup.
Typically, I used the following command:
Mysql still doesn't start when system boots.
View 1 Replies
View Related
Feb 11, 2010
Karmic - When I start up and log in, a window for KDE Desktop Sharing Invitation automatically pops up.
Closing it doesn't prevent it from popping up on next startup.
There doesn't appear to be any option to "Don't show on startup."
When I go to System -> System Settings -> Advanced -> Autostart, it does not appear under Desktop File. The only thing that appears under "Script File" is gtk-2-engines-qtcurve.rc.sh gtk2engines... which does not appear to be the issue.
I'm guessing there's a shell command that will give me a more in-depth look at what should and should not run upon startup? Would really like to startup with a clean screen!
View 2 Replies
View Related
Jan 13, 2011
I am running Unbuntu 10.10 on a HTPC, and also XBMC. With some effort it worked ok, sounds, remote etc. Via systems>preferences I managed to add XBMC to the startup. It now starts when I start the PC. However it sort-of hijacks the PC, so the WiFi does not start among other things. Also I am no longer able to log into the desktop, so I am not able to emove XBMC from the start-up of the computer. If I exit XBMC I get to the log-in screen for the desktop, but when I log in it starts XBMC directly.
How can I remove it via the terminal? I cannot find a .config directory, any autostart, any .xsession, .xinitrc or anything else that looks like startup-script. How can I get access to my desktop again?
View 3 Replies
View Related
Jun 10, 2010
I believe that 10.04 & MYSQL Server are not compatible. My problem is that I have not been able to remove MYSQL from the system. Every thing I've tried says I have to reinstall before removing and I can NOT get anything to update. What can I do short of a hammer & chisel?
View 9 Replies
View Related
Dec 29, 2008
After a new install of Slackware 12.2, I carried out the following procedures to get everything working successfully right out of the box. The server is a standalone system, used for testing and educational purposes, so please bear that in mind. NB: Throughout this post when you see a single # at the start of a line it means you are typing the commands as root user. You should not include the #, only the text after it.
### setup Apache with php enabled
Login as root user on your Slackware box and type:
# pico -w /etc/httpd/httpd.conf
[code].....
View 18 Replies
View Related
Jan 21, 2010
I'm unable to change startup programs. If I try and add or remove a program, any changes I have made seem to undo themselves. I suspect it might have something to do with being unable to save the session, but I really don't have a clue.
Just in case it makes a difference: I'm actually running Mint (Helena).
View 1 Replies
View Related
Jun 20, 2010
I get this Attention note when starting up to tell me that the system cannot handle video 1080 X 1024 which I am not using. I am using 1024 X 768. How can I get rid of this annoying little notice which slows down the start up considerable as it travel across the screen
View 2 Replies
View Related
Apr 1, 2011
I've tried the following in rc.local but it gets me nowhere:
Code:
TRANSMISSION_TIMING() {
for((a=0;a<=5;a++)); do
sleep 1 &
wait
[[ $(top -n1 | grep transmission) == *transmission* ]] &&
[[ $(date +%H) -ge 5 ]] && [[ $(date +%H) -lt 23 ]] && /etc/init.d/transmission-daemon stop done
}
TRANSMISSION_TIMING &
Code:
TRANSMISSION_TIMING() {
[[ $(top -n1 | grep transmission) == *transmission* ]] &&
[[ $(date +%H) -ge 5 ]] && [[ $(date +%H) -lt 23 ]] && /etc/init.d/transmission-daemon stop
}
TRANSMISSION_TIMING &
Nothing I do can keep this thing from launching, and apparently kill it either.
View 1 Replies
View Related
Feb 19, 2010
I dont know why but somehow amarok came to startup in my kubuntu machine..
I have checked ~/.kde/Autostart/ but its is empty..
View 1 Replies
View Related
May 28, 2010
is there any way to remove the root password in mysql,if can what is the command to remove it.
View 3 Replies
View Related
Jan 8, 2010
I'm having a little problem because I've installed xampp, but can't start it because it seems there's already an apache installation in my ubuntu
I've confirmed this by browsing to http://127.0.0.1 , and by doing px ax | grep apache
[URL]
Now I'd like to know how to stop this apache, remove from startup, and uninstall safely so I use xampp's apache instead.
View 9 Replies
View Related
Apr 13, 2010
There's a growing list of "Kernel" versions in the boot menu. I just want Ubuntu and Windows, how do I get rid of the superseded kernel entries?
View 9 Replies
View Related
Jul 6, 2010
How do I remove that annoying drum sound from the login screen.I went to PREFERENCES -> LOGIN SCREEN, but there are no tabs or boxes for sound. Only options to determine who I want to log in.I tried GCONF-EDITOR, and drilled down to /apps/gdm/simple-greeter/settings-manager-plugins/sound/active and unchecked the active box, rebooted, but it still plays that stupid sound. And the box is unchecked if I check it! I've tried the solutions in the forum and nothing seems to kill that annoying sound.I'm still on 9.10 right now, since 10.04 has a nasty screen flicker problem.
View 9 Replies
View Related
May 19, 2011
Somehow the -D option got tacked on to my sshd when I start up. How do I remove the -D option when sshd is started at boot? I'm guessing I need to edit something in /etc/init.d but not sure what. I checked System->Preferences->Startup Applications and the ssh server daemon isn't listed there. And since it is a command line option /etc/ssh/sshd_config is of no help.
View 2 Replies
View Related
Jul 20, 2010
I Installed the maintained package, Day one everything worked fine, I set a dummy database and work on it from VM windows. Day two weird errors, I searched around couldn't find the problem, the error was related to The root user losing privileges. I don't remember the exact error. So I decided to Completely remove the DB with apt-get remove mysql-Server-5.1. It gets stuck during the uninstall, I left the machine for a day and a half to uninstall mysql. I realized it was no use, I tried to Restart and try again, but I am getting the same thing.
Code:
finito@finito-desktop:~$ sudo apt-get remove mysql-server-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dbconfig-common libhtml-template-perl mysql-server-core-5.1 libaprutil1-ldap
apache2-mpm-prefork apache2-utils libmcrypt4 apache2.2-common libt1-5
libaprutil1-dbd-sqlite3 apache2.2-bin wwwconfig-common php5-common
javascript-common libjs-mootools
Use 'apt-get autoremove' to remove them.
The following packages will be removed:
mysql-server-5.1
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 15.7MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 231901 files and directories currently installed.)
Removing mysql-server-5.1 ...
it stays stuck at Removing mysql-server-5.1 ...
I can't progress I am at the brink now, my only option right now is format, but I don't wanna do that. This setup is almost 5 years old and I have gone with many ups and downs with it. From Windows to 8.04 to 8.10 to 9.04 to 9.10 to now 10.04 each year loving the resilience of Ubuntu and the Linux architecture. I don't want to believe that this has killed my spree.
View 9 Replies
View Related
Nov 28, 2010
Okay, two packages in question here: sshd and xrdp.
In the /etc/rc.d/rc5.d directory there is a K??sshd link, I'm not really sure why the default is to kill sshd in graphical mode, but it's there. I saw it coincidentally when I went to add an S??xrdp link so that I could have xrdp run when the computer starts. I restarted the computer, and of course, couldn't connect via my Windows Remote Desktop client. A quick ps -e | grep xrdp in a terminal window showed me that xrdp had not, in fact, started.
I hop back in to ??/rc5.d to see if I messed up creating my link and poof. there's no more S??xrdp link, furthermore, the K??sshd link that I had removed was back.
Okay, so Fedora doesn't like you messing with the init links manually... I can dig it, cause there's this nifty gui tool to manage startup items... I go in to that and add entries for sshd and xrdp, calling them via their init scripts so I can make sure everything plays nicely... then restart.
Oh, wait, still no xrdp or sshd running.
If I manually start these servers using their init scripts from a terminal they run fine, no issues, but I don't want to do that, and I think we can all agree that I should't have to. What am I doing wrong? What is the 'proper' way to add servers to the startup process and since entering runlevel 5 apparently kills sshd, how do I prevent that?
View 4 Replies
View Related
Sep 23, 2010
For some reason, Skype starts up in two instances. How can remove one of them in KDE (4.4.4)?
View 5 Replies
View Related
Feb 19, 2011
when I start my redhat 4, there are always two xterm prompts. i just want to see a clean desktop when I start up. I checked my rc.local and .cshrc file. there is no clue on it. remove these two xterm?
View 9 Replies
View Related
Sep 28, 2010
For some reasons, dhcdpd wouldn't connect eth0 at startup and it takes 10 to 15 seconds of timeout. Since I don't really care because I use wifi, I would like to remove auto dhcpcd at startup but I can't fint it anywhere in /etc/rc.*.
View 3 Replies
View Related
Apr 28, 2010
I have both ubuntu and kde-desktop installed, and after trying KDM, switched back to GDM which worked fine for a while (although KDE changed my other gnome settings like usplash and cursors which took a while to change back). A day later, though, when I start up my system, the screen flickers a few times then shows me a message that an x-server is already running, so hit no to try loading it on '0' again or yes to try another number.
If I hit no, it will briefly show me the KDE login screen refresh a few times and go back to the menu. If I hit yes, it refreshes about 7 times and finally shows the gnome login screen. This process takes a long time and I'm not sure is great for my screen.
View 3 Replies
View Related
Mar 6, 2011
I recently installed Fedora 14 and things were going fine. Until I installed Java SDK (or is it JDK). When I rebooted immediatedly after installing, startup is hanging up on starting; jexec services.
I've tried booting from a live CD, thinking I could edit /etc/init.d/jexec, but so far, I haven't been able to make changed to the local file system. How do I remove jexec from startup from a Live CD?
View 2 Replies
View Related
Nov 16, 2009
I am using fedora 8, upto login screen it is fine. After getting password, automatically it starts some programs like, terminal, Thunderbird, firefox and nautilus.
I want to stop this auto startup programs.
View 4 Replies
View Related
Jan 5, 2010
Before karmic while I was using Jaunty, I used to do it all the time, play my favorite sounds wherever I was them, startup, error, login, logout, etc etc... I found it in System>Preferences>Sound...
But when I do the same in Karmic, the opening dialogue box doesn't give me an option to change every sound specifically, instead, although it gives me option to choose a sound theme of my own. But for that I must first compile a theme and then install it / place it in sound themes directory etc etc.
How would I change sounds for particular events without having to compile a whole new theme (customizing the current Ubuntu sound theme)...
how do I create sound themes for Ubuntu and them install them in my Ubuntu?
View 5 Replies
View Related
Sep 29, 2010
I know very little about MySQL, but I've got some users that need it for testing on a Linux server.So I had set it up a while back, but now I'm running into some small problems.Right now, each user has his own database that I created and can do whatever with it. Each user only sees their own database.I didn't want them to be able to create new databases at all, but they can and when they do anyone can see them.
EDIT(Apparently they can only create databases beginning with the word "test" in the name)
I need to either:
1) Stop them from creating new databases (without affecting their ability to interact with the existing database)
OR
2) Make it so that when they create a database, only they have privileges on it and only they can see it (except mysql root of course).
Anybody know the statement to set these kinds privileges up?
EDIT: pfft... I've a read a bit more and realize that this is an intended part of the installation.
EDIT2
I'd still like to remove the ability to make test databases.
EDIT3:Ok, for reference this is how you prevent users from making and using test databases:
shell> mysql -u root -p
Enter password: (enter root password here)
mysql> DELETE FROM mysql.db WHERE Db LIKE 'test%';
mysql> FLUSH PRIVILEGES;
View 4 Replies
View Related
Aug 24, 2010
I know PHP auto removes stale sessions on it's own, but that doesn't remove them from the MYSQL table. So I was gonna make a cron script that ran once every hour that removed any MYSQL shopping cart item from the table if the original session_id that created it does not exist anymore.
From my understanding a session_id is an "actual" file located somewhere on the harddisk (is it not? correct me if I'm wrong), so I was going to do a simple check for each item in the shopping cart to check for it's original session file, if it didn't exist on the harddisk, then simply remove it from the mysql table.
View 1 Replies
View Related