-
Senior Member
registered user
MY SQL Errors on 4.0.2
I am not able to start mysql using
/etc/init.d/mysql start
I get errors saying that /usr/bin/mysqladmin cannot connect to localhost and that "can't connect to local mysql server through socket /var/run/mysqld/mysqld.sock"
the old lamp server floppy (knoppix-webserver-setup.zip) no longer seems to work.
I have a work project that needs mysql.
any advise greatly appreciated.
paul[/img]
-
Senior Member
registered user
here's the fix:
Using mySQL with Knoppix 4.0.2
As root edit /etc/mysql/my.cnf
Comment out the line old_passwords = 1
#old_passwords = 1
You can now use
/etc/init.d/mysql start
and
/etc/init.d/mysql stop
to control the service.
To start the client open a new shell and type
mysql
You should see the sql prompt
mysql>
-
I am facing similar problem with knoppix 4.01 hd installed.Not only that,
the localhost cannot be reached by typing http://localhost and networking configure tool
hang-up after clicking <apply> to finish configure my ethernet ip.
A lot of tweaking/manual works have to be done with httpd.conf ,modules.conf and interfaces files,and restart again.
Is there anyway to automate apache and mysql at start-up?
Generally,as a newbie,I found that knoppix is not user friendly as compare to mandrake or
even fedora.
thank you.
chiasc.
-
Senior Member
registered user
you should start a new thread if you want effective help with other issues that the topic posted (just a suggestion, do as you will)
i run 4.0.2 from cd, but its the same for hd install
to start the apache web server, i run (as root)
/etc/init.d/apache start
you can then open http://localhost in your browser
not sure about your network card hang up. try configuring using ifconfig and route from the command line. tough if you claim to be a newbie, but a worthwhile learning exercise and will most likely be a workaround to netcardconfig (IMHO).
to automate things, i create a script that does ALL my manual tasks (stopping and starting services, creating symlinks, etc). I keep that on a hd partition or thumbdrive and run it when I start. i have heard you can edit the knoppix .sh startup file, but I prefer to do it this way.
i also have not found knoppix as user friendly as mandrake or fedora. that's why i switched... i didn't want a friend, i wanted an embedded operating system 
hope this info is helpful.
Similar Threads
-
By mikekgr in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-30-2004, 08:01 AM
-
By Stryker87 in forum General Support
Replies: 3
Last Post: 06-14-2004, 01:22 AM
-
By foofightr in forum General Support
Replies: 1
Last Post: 01-26-2004, 02:58 AM
-
By massai in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 12-24-2003, 06:56 PM
-
By Gecko in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 10-19-2003, 03:28 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick
$305.01

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$99.00

Wholesale Sale 10/ 30/ 50/100pcs 256MB Metal Swivel USB Flash Drive Memory Stick
$165.90