Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Closed Thread
 
Thread Tools Display Modes
  #21  
Old 10th February 2006, 02:06
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
You don't have to tell anyone about it. There are people out there scanning the net for things like these...
Even though my server is behind a router and a hub it can still be detected without a domain or anything up?
Quote:
Uninstalling MySQL won't help because it doesn't remove the databases... You should consider a clean reinstall.
Well how would I go about doing that?
__________________
My Server Stats:
No servers currently working.
Sponsored Links
  #22  
Old 10th February 2006, 09:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

Quote:
Originally Posted by Jrdgames
Even though my server is behind a router and a hub it can still be detected without a domain or anything up?
No, only if you forward ports from your router to your server.

Quote:
Well how would I go about doing that?
I guess falko meaned to format and reinstall the complete linux operting system.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
  #23  
Old 10th February 2006, 16:45
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Oh theres no way to just delete the databases without a new install of linux?
__________________
My Server Stats:
No servers currently working.
  #24  
Old 10th February 2006, 16:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You could uninstall MySQL and then delete the directory /var/lib/mysql and then reinstall MySQL. But I don't know if it works...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
  #25  
Old 10th February 2006, 23:15
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

I wonder if they say how to delete the databases on the mysql website or the folder the databases are saved in...

EDIT: I've posted on the mysql forums and I have asked where the databases are stored but I dont know how helpful they will be.
__________________
My Server Stats:
No servers currently working.

Last edited by Jrdgames; 10th February 2006 at 23:48.
  #26  
Old 10th February 2006, 23:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

Quote:
Originally Posted by Jrdgames
I wonder if they say how to delete the databases on the mysql website or the folder the databases are saved in...
To delete the database folders, execute the command:

rm -rf /var/lib/mysql
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
  #27  
Old 10th February 2006, 23:55
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

ok command executed the directory is gone now what should i do? do i continue uninstalling mysql now?
__________________
My Server Stats:
No servers currently working.
  #28  
Old 11th February 2006, 00:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

Quote:
Originally Posted by Jrdgames
ok command executed the directory is gone now what should i do? do i continue uninstalling mysql now?
The directories must be removed after you uninstalled mysql, not before:

Quote:
You could uninstall MySQL and then delete the directory /var/lib/mysql and then reinstall MySQL. But I don't know if it works...
But ok, lets try to remove it anyway

Execute the command:

apt-get remove mysql-server

Please copy the list of packages that where uninstalled and post it here.

Then install it again with:

apt-get install mysql-server
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 11th February 2006 at 00:09.
  #29  
Old 11th February 2006, 00:47
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Heres what I got when I ran the uninstall command:
Quote:
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
mysql-server
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 9007kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 75066 files and directories currently installed.)
Removing mysql-server ...
Stopping MySQL database server: mysqld.
Proceeding to install mysql again we'll see how it works, im going to turn portforwarding off first though so my server cant be picked up by scans.

EDIT mysql has installed and we'll see if the set pass word works
__________________
My Server Stats:
No servers currently working.

Last edited by Jrdgames; 11th February 2006 at 06:47.
  #30  
Old 11th February 2006, 12:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
 
Default

Quote:
Originally Posted by Jrdgames
Heres what I got when I ran the uninstall command:


Proceeding to install mysql again we'll see how it works, im going to turn portforwarding off first though so my server cant be picked up by scans.

EDIT mysql has installed and we'll see if the set pass word works
Ok, the output from uninstalling mySQL looks fine so far. I just want to be sure that apt did not uninstall any other depending packages too that we would have to reinstall again. But apt just uninstalled the mysql server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Closed Thread

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISP Config Installation on Suse 9.3 gimhan90 Installation/Configuration 5 20th January 2006 10:24
The config of webmail/pop3 make me crazy!!! :( Spektro Installation/Configuration 7 14th December 2005 14:33
Can't access System config / Settings section Spektro Installation/Configuration 1 9th December 2005 15:31
DNS Config Problem bolinux Installation/Configuration 27 20th August 2005 16:12
Config file templates till Developers' Forum 0 30th July 2005 23:10


All times are GMT +2. The time now is 08:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.