Current time: 11-16-2024, 01:46 AM Hello There, Guest! (LoginRegister)


Post Reply 
MySQL command not found in Debian
Author Message
Piketa Offline


Posts: 4
Joined: Jun 2009
Reputation: 0
Post: #1
MySQL command not found in Debian
Hello,

I am new to ispCPOmega and trying to install it to my new server, running on Debian. I have followed the instructions in the installation guide and everything works so far.

Now, I've come to step 6, and I get this:

Code:
r25385:/usr/local/src/ispcp/ispcp-omega-1.0.0# mysql_secure_installation
-bash: mysql_secure_installation: command not found

Any idea what I'm doing wrong?

Thanks!
Stephan.
06-26-2009 05:13 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: MySQL command not found in Debian
Code:
./mysql_secure_installation
(don't forget the dot slash at the beginning)
06-26-2009 05:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Piketa Offline


Posts: 4
Joined: Jun 2009
Reputation: 0
Post: #3
RE: MySQL command not found in Debian
Code:
r25385:/usr/local/src/ispcp/ispcp-omega-1.0.0# ./mysql_secure_installation
-bash: ./mysql_secure_installation: No such file or directory
06-26-2009 05:28 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: MySQL command not found in Debian
Ok, I spoke too fast. Can you check that you have mysql installed (post the output of the following command)?
Code:
dpkg --list mysql*
06-26-2009 01:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Piketa Offline


Posts: 4
Joined: Jun 2009
Reputation: 0
Post: #5
RE: MySQL command not found in Debian
Can I do that on the root?

Code:
r25385:~# dpkg --list mysql*
No packages found matching mysql*.


Hmm... Trying it in other directories as well:

Code:
r25385:/usr/local/src/ispcp/ispcp-omega-1.0.0# dpkg --list mysql*
No packages found matching mysql*.

Code:
r25385:/usr/local/src/ispcp# dpkg --list mysql*
No packages found matching mysql*.


So, I guess it isn't.
06-26-2009 05:20 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: MySQL command not found in Debian
You can do that anywhere, as it uses the global package database to search for any mysql-related packages. If there are none, you have a problem regarding apt... either it's that you're missing proper sources, have the database broken or whatever.

In other words: fix apt before installing ispcp....
06-26-2009 07:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Piketa Offline


Posts: 4
Joined: Jun 2009
Reputation: 0
Post: #7
RE: MySQL command not found in Debian
What does this mean, and how do I do this?

By the way, thanks alot for helping me!
06-26-2009 10:36 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)