Jump to content
MMOdev Moderator Applications ×

How to install and start MySQL server 5.6


Uffo

Recommended Posts

  • Administrator

This page explains how to install and start the MySQL server version 5.6 on the FreeBSD 10.0 operating system.

To install the software, log in as root and type

This is the hidden content, please

This installs the database server and the client. To allow the database server to run, edit the file /etc/rc.conf to add the following line:

This is the hidden content, please

Now you can start the server with

This is the hidden content, please

You will see output similar to the following:

This is the hidden content, please

You can test that the database is running correctly using the command-line tool mysql. Type

This is the hidden content, please

The output looks like this:

Quote
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.17 Source distribution

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

You can leave the command line tool by typing "exit"

This is the hidden content, please

The output looks like this:

Quote
Bye

To stop the server, use

This is the hidden content, please

The output looks like this:

Quote
Stopping mysql.
Waiting for PIDS: 2110.

If the server is running, and you want to restart it, you can also do that as follows:

This is the hidden content, please

 

  • Like 8
  • Thanks 3
Link to comment
Share on other sites

5 hours ago, xpro said:

Esta página explica como instalar e iniciar o servidor MySQL versão 5.6 no sistema operacional FreeBSD 10.0.

Para instalar o software, faça login como root e digite

Conteúdo oculto

  • Responda a este tópico para ver o conteúdo oculto.

Isso instala o servidor de banco de dados e o cliente. Para permitir a execução do servidor de banco de dados, edite o arquivo /etc/rc.conf para adicionar a seguinte linha:

Conteúdo oculto

  • Responda a este tópico para ver o conteúdo oculto.

Agora você pode iniciar o servidor com

Conteúdo oculto

  • Responda a este tópico para ver o conteúdo oculto.

Você verá uma saída semelhante a esta:

Conteúdo oculto

  • Responda a este tópico para ver o conteúdo oculto.

Você pode testar se o banco de dados está funcionando corretamente usando a ferramenta de linha de comando mysql. Tipo

Conteúdo oculto

  • Responda a este tópico para ver o conteúdo oculto.

A saída é semelhante a esta:

Você pode sair da ferramenta de linha de comando digitando "exit"

Conteúdo oculto

  • Responda a este tópico para ver o conteúdo oculto.

A saída é semelhante a esta:

Para parar o servidor, use

Conteúdo oculto

  • Responda a este tópico para ver o conteúdo oculto.

A saída é semelhante a esta:

Se o servidor estiver em execução e você quiser reiniciá-lo, também poderá fazer isso da seguinte maneira:

Conteúdo oculto

  • Responda a este tópico para ver o conteúdo oculto.

 

Teste

Link to comment
Share on other sites

On 12/29/2023 at 1:08 PM, xpro said:

This page explains how to install and start the MySQL server version 5.6 on the FreeBSD 10.0 operating system.

To install the software, log in as root and type

Hidden Content

  • Reply to this topic to see the hidden content.

This installs the database server and the client. To allow the database server to run, edit the file /etc/rc.conf to add the following line:

Hidden Content

  • Reply to this topic to see the hidden content.

Now you can start the server with

Hidden Content

  • Reply to this topic to see the hidden content.

You will see output similar to the following:

Hidden Content

  • Reply to this topic to see the hidden content.

You can test that the database is running correctly using the command-line tool mysql. Type

Hidden Content

  • Reply to this topic to see the hidden content.

The output looks like this:

You can leave the command line tool by typing "exit"

Hidden Content

  • Reply to this topic to see the hidden content.

The output looks like this:

To stop the server, use

Hidden Content

  • Reply to this topic to see the hidden content.

The output looks like this:

If the server is running, and you want to restart it, you can also do that as follows:

Hidden Content

  • Reply to this topic to see the hidden content.

 

thx

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...

Important Information

Terms of Service