Skip to Content
Linux System Administration
book

Linux System Administration

by Tom Adelstein, Bill Lubanovic
March 2007
Intermediate to advanced
304 pages
11h 12m
English
O'Reilly Media, Inc.
Content preview from Linux System Administration
22
|
Chapter 2: Setting Up a Linux Multifunction Server
Try it now to make sure that the client and server are working and that you can get
into the server. You should see output on your console similar to the one shown
next:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14 to server version: 4.0.24_Debian-10-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Type /q or quit; to exit.
Because the MySQL server is running, you can run netstat -tap and see a line like
this:
tcp 0 0 localhost.localdo:mysql *:* LISTEN 2449/mysqld
MySQL is accessible on the local host (127.0.0.1) on port 3306. If you do not see this
line, edit /etc/mysql/my.cnf (the configuration file that the client and server check for
operating parameters) and add a
# sign to comment out skip-networking:
#skip-networking
If you want MySQL to listen on all available IP addresses, edit /etc/mysql/my.cnf and
comment out the
bind-address = 127.0.0.1 line:
#bind-address = 127.0.0.1
If you had to edit /etc/mysql/my.cnf, restart MySQL using this command:
# /etc/init.d/mysql restart
This discussion has not covered all the functions database developers are likely to
expect of you. MySQL is now set up to run on your server, however, and that’s suffi-
cient for you to take the next steps. We’ll do more with MySQL in Chapters 6 and 11.
Configuring Mail Securely with Postfix, POP3, and IMAP
In
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning Linux System Administration

Beginning Linux System Administration

Sander van Vugt
Mastering Linux System Administration

Mastering Linux System Administration

Christine Bresnahan, Richard Blum

Publisher Resources

ISBN: 9780596009526Catalog PageErrata