Install MySQL

By admin

Install  MySQL :

# apt-get install mysql-server-5.1 mysql-client-5.1

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
bsd-mailx libdbd-mysql-perl libdbi-perl libhtml-template-perl
libmysqlclient15off libmysqlclient16 libnet-daemon-perl libplrpc-perl mailx
mysql-common postfix ssl-cert
Suggested packages:
dbishell libipc-sharedcache-perl tinyca procmail postfix-mysql postfix-pgsql
postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb mail-reader
The following NEW packages will be installed:
bsd-mailx libdbd-mysql-perl libdbi-perl libhtml-template-perl
libmysqlclient15off libmysqlclient16 libnet-daemon-perl libplrpc-perl mailx
mysql-client-5.1 mysql-common mysql-server-5.1 postfix ssl-cert
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.4MB of archives.
After this operation, 59.6MB of additional disk space will be used.
Do you want to continue [Y/n]?

Press ‘Y‘ and let installation process begin till end.

Checking if mysql running :

# ps ax | grep mysql

4260 ?        S<     0:00 /bin/sh /usr/bin/mysqld_safe
4376 ?        S<l    0:00 /usr/sbin/mysqld –basedir=/usr –datadir=/var/lib/mysql –user=mysql –log-error=/var/lib/mysql/mail.err –pid-file=/var/run/mysqld/mysqld.pid –socket=/var/run/mysqld/mysqld.sock –port=3306
4797 pts/0    S<+    0:00 grep mysql

Login :

# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 38
Server version: 5.1.31-1ubuntu2 (Ubuntu)

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql> exit
Bye
#

Incoming search terms for the article:

  • libmysqlclient15off centos
  • ubuntu libmysqlclient15off
  • install libmysqlclient15off
  • libmysqlclient15off ubuntu 10
  • libmysqlclient15off
  • libmysqlclient15off ubuntu
  • libmysqlclient15off libmysqlclient16
  • tinyca mysql
  • Centos libmysqlclient15off
  • mysql tinyca

Information

Quick and Easy Way to Install FreeBSD Email Server from Scratch , covered virtual hosting and multiple domain, spam protection etc plus tips to get system up to date

Incoming search terms for the article:

  • libmysqlclient15off centos
  • ubuntu libmysqlclient15off
  • install libmysqlclient15off
  • libmysqlclient15off ubuntu 10
  • libmysqlclient15off
  • libmysqlclient15off ubuntu
  • libmysqlclient15off libmysqlclient16
  • tinyca mysql
  • Centos libmysqlclient15off
  • mysql tinyca
  • Pages

  • Download Ubuntu

  • Download Fedora

  • Tags

  • Categories

    • Translate to: