Skip to main content

installing mysql on freebsd circa 2013


mysql_install_db --user=mysql --basedir=/usr/local

output:

Installing MySQL system tables...2013-03-21 20:58:56 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-03-21 20:58:56 81008 [Note] InnoDB: The InnoDB memory heap is disabled
2013-03-21 20:58:56 81008 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-03-21 20:58:56 81008 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-03-21 20:58:56 81008 [Note] InnoDB: CPU does not support crc32 instructions
2013-03-21 20:58:56 81008 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-03-21 20:58:56 81008 [Note] InnoDB: Completed initialization of buffer pool
2013-03-21 20:58:56 81008 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2013-03-21 20:58:56 81008 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2013-03-21 20:58:56 81008 [Note] InnoDB: Database physically writes the file full: wait...
2013-03-21 20:58:57 81008 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2013-03-21 20:59:02 81008 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2013-03-21 20:59:06 81008 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2013-03-21 20:59:06 81008 [Warning] InnoDB: New log files created, LSN=45781
2013-03-21 20:59:06 81008 [Note] InnoDB: Doublewrite buffer not found: creating new
2013-03-21 20:59:07 81008 [Note] InnoDB: Doublewrite buffer created
2013-03-21 20:59:07 81008 [Note] InnoDB: 128 rollback segment(s) are active.
2013-03-21 20:59:07 81008 [Warning] InnoDB: Creating foreign key constraint system tables.
2013-03-21 20:59:07 81008 [Note] InnoDB: Foreign key constraint system tables created
2013-03-21 20:59:07 81008 [Note] InnoDB: Creating tablespace and datafile system tables.
2013-03-21 20:59:07 81008 [Note] InnoDB: Tablespace and datafile system tables created.
2013-03-21 20:59:07 81008 [Note] InnoDB: Waiting for purge to start
2013-03-21 20:59:07 81008 [Note] InnoDB: 1.2.10 started; log sequence number 0
2013-03-21 20:59:13 81008 [Note] Binlog end
2013-03-21 20:59:13 81008 [Note] InnoDB: FTS optimize thread exiting.
2013-03-21 20:59:13 81008 [Note] InnoDB: Starting shutdown...
2013-03-21 20:59:15 81008 [Note] InnoDB: Shutdown completed; log sequence number 1625977
OK

Filling help tables...2013-03-21 20:59:15 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-03-21 20:59:15 81009 [Note] InnoDB: The InnoDB memory heap is disabled
2013-03-21 20:59:15 81009 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-03-21 20:59:15 81009 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-03-21 20:59:15 81009 [Note] InnoDB: CPU does not support crc32 instructions
2013-03-21 20:59:15 81009 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-03-21 20:59:15 81009 [Note] InnoDB: Completed initialization of buffer pool
2013-03-21 20:59:15 81009 [Note] InnoDB: Highest supported file format is Barracuda.
2013-03-21 20:59:15 81009 [Note] InnoDB: 128 rollback segment(s) are active.
2013-03-21 20:59:15 81009 [Note] InnoDB: Waiting for purge to start
2013-03-21 20:59:15 81009 [Note] InnoDB: 1.2.10 started; log sequence number 1625977
2013-03-21 20:59:15 81009 [Note] Binlog end
2013-03-21 20:59:15 81009 [Note] InnoDB: FTS optimize thread exiting.
2013-03-21 20:59:15 81009 [Note] InnoDB: Starting shutdown...
2013-03-21 20:59:16 81009 [Note] InnoDB: Shutdown completed; log sequence number 1625987
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

  /usr/local/bin/mysqladmin -u root password 'new-password'
  /usr/local/bin/mysqladmin -u root -h msusac.morgan.edu password 'new-password'

Alternatively you can run:

  /usr/local/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:

  cd . ; /usr/local/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl

  cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at

  http://www.mysql.com

Support MySQL by buying support/licenses at http://shop.mysql.com

New default config file was created as /usr/local/my.cnf and
will be used by default by the server when you start it.
You may edit this file to change server settings

Comments

Popular posts from this blog

Excerpts from a Messaging & Collaboration White Paper

Current Trends – Cloud (Hosted) Messaging Solutions Email is only one of a growing portfolio of services in what is routinely referred to as Unified Communication (UC) infrastructure. From the hardware and infrastructure point of view, this often means the integration of network systems for telephone (landlines), internet (data link), video (conferencing, cable etc.) and cellular communication. From the services point of view, the usual term is Unified Messaging (UM) – which encompasses email, voice mail, video mail, instant messaging, and SMS messaging. Other components of UM include social networking sites and tools such as RSS, Facebook, Twitter, Google Voice, Google Wave [1] , document management, project management and a growing catalog of innovative solutions. Messaging platforms are evolving and as vendors make these capabilities available in their free consumer versions, business user expectations are also being shaped by their experiences on thes...

iOS Developer Program License Agreement

LEASE READ THE FOLLOWING LICENSE AGREEMENT TERMS AND CONDITIONS CAREFULLY BEFORE DOWNLOADING OR USING THE APPLE SOFTWARE. THESE TERMS AND CONDITIONS CONSTITUTE A LEGAL AGREEMENT BETWEEN YOU AND APPLE. iOS Developer Program License Agreement Purpose You would like to use the Apple Software (as defined below) to develop one or more Applications (as defined below) for Apple-branded products running the iOS. Apple is willing to grant You a limited license to use the Apple Software to develop and test Your Applications on the terms and conditions set forth in this Agreement. Applications developed under this Agreement can be distributed in two ways: (1) through the App Store, if selected by Apple, and (2) on a limited basis for use on Registered Devices (as defined below). Applications that meet Apple's Documentation and Program Requirements may be submitted for consideration by Apple for distribution via the App Store. If submitted by You and selected by Apple, Your Appli...

Obama : The Country We Believe In

A speech by The President of the United States of America, Barack Obama, on April 13, 2011 at Goerge Washington University... Good afternoon.  It’s great to be back at GW.  I want you to know that one of the reasons I kept the government open was so I could be here today with all of you.  I wanted to make sure you had one more excuse to skip class.  You’re welcome.