首页 > 系统相关 >centos7安装mariadb-10.10.6-linux-systemd-x86_64.tar.gz

centos7安装mariadb-10.10.6-linux-systemd-x86_64.tar.gz

时间:2023-08-17 11:37:15浏览次数:36  
标签:systemd mariadb x86 tar root usr mysql MariaDB local

[root@kht100 data]# mysql_install_db --user=root --basedir=/usr/local/mariadb --datadir=/usr/local/mariadb/data
Installing MariaDB/MySQL system tables in '/usr/local/mariadb/data' ...
2023-08-17 11:07:36 0 [Note] Starting MariaDB 10.10.6-MariaDB source revision cce155cc901a573d68ccda856bbf53e90edef15d as process 31545
OK
Filling help tables...
2023-08-17 11:07:37 0 [Note] Starting MariaDB 10.10.6-MariaDB source revision cce155cc901a573d68ccda856bbf53e90edef15d as process 31553
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 MariaDB root USER !
To do so, start the server, then issue the following commands:

'/usr/local/mariadb/bin/mysqladmin' -u root password 'new-password'
'/usr/local/mariadb/bin/mysqladmin' -u root -h kht100 password 'new-password'

Alternatively you can run:
'/usr/local/mariadb/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 MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.

You can start the MariaDB daemon with:
cd '/usr/local/mariadb' ; /usr/local/mariadb/bin/mysqld_safe --datadir='/usr/local/mariadb/data'

You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/local/mariadb/mysql-test' ; perl mysql-test-run.pl

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

标签:systemd,mariadb,x86,tar,root,usr,mysql,MariaDB,local
From: https://www.cnblogs.com/khtt/p/17637155.html

相关文章

  • Unable to start activity Comandroid.content.res.Resources$NotFoundException: Str
    UnabletostartactivityComandroid.content.res.Resources$NotFoundException:StringresourceID#0x0 打开app->res->values->strings.xml文件添加<stringname="game_view_content_description">Gameview</string>......
  • 强连通分量与tarjan算法
    强连通分量强连通:若一张有向图的节点两两之间可以互相抵达,那么这一张图是强连通的。强连通分量:极大的强连通子图。对图深度搜索的时候,每一个节点只访问一次,被访问过的节点与边构成搜索树。有向边按照访问的情况可以分为如下4类:1.树边:访问节点走过的边。2.返祖边:指向祖......
  • 【W的AC企划 - 第八期】tarjan缩点
    往期浏览第一期-博弈论(game)第二期-前缀和第三期-二分算法第四期-莫队算法第五期-线段树第六期-位运算(Bitmasks)第七期-树上分治第八期-Tarjan缩点第九期(拟)-树上启发式合并讲解(有向图)强连通分量缩点概念强连通分量缩点后的图称为SCC。有两种......
  • vite打包报错:ERROR: Top-level await is not available in the configured target env
    在开发时,vita打包报错如下: 原因:ECMAScript提案Top-levelawait由MylesBorins提出,它可以让你在模块的最高层中使用await操作符。在这之前,你只能通过在async函数或asyncgenerators中使用await操作符。Top-levelawait是个新特性,打包不支持此特性。解决方案:1.......
  • nacos利用startup.cmd -m standalone启动错误
    解决方法:输入以下命令.\startup.cmd-mstandalone就可以启动......
  • Systemd 查看开启自启的服务
     使用systemctl命令查看所有开机自启的服务:systemctllist-unit-files--type=service--state=enabledUNITFILESTATEauditd.serviceenabledautovt@.serviceenabled......
  • SocketAsyncEventArgs内存占用太大引发OutOfMemoryExceptions
    最近把一个接收socket服务端软件升级为iocp方案,其实就是换成c#的socket的异步方法,主要参考的是微软写的Server类,然后再百度找到基于这个类实现的代码来改造上线一两天后,软件崩溃了,查日志发现报了很多OutOfMemoryExceptions错误,都是在发送方法上。因为我发送方法用的SocketAsyncE......
  • CF1852A Ntarsis' Set
    题目大意集合\(S:1,2,3,4,\dots,10^{1000}\)。给定长度为\(n\)的单调递增正整数序列,给定一个数\(k\)。对\(S\)进行\(k\)次删除操作,每次以序列为下标删除最小元素,即每次同时删除集合中第\(a_1,a_2,\dots,a_n\)小的元素。求\(k\)次删除操作后\(S\)中最小元素。思......
  • 在docker中启用systemd
    参考:Dockersystemd进程管理器以amaznlinux2023测试#catamazonlinux-systemddockerrun-tid-p2222:22--hostnameamazonlinux-systemd--nameamazonlinux-systemd\--entrypoint=/usr/lib/systemd/systemd\--envcontainer=docker\--mounttype=bind,so......
  • 编译greenDao的时候出现KaptExecution:java.lang.reflect.InvocationTargetException
    一、概述在编译greendao的时候出现了以下异常。Executionfailedfortask':common_base:kaptDebugKotlin'.>Afailureoccurredwhileexecutingorg.jetbrains.kotlin.gradle.internal.KaptExecution>java.lang.reflect.InvocationTargetException(noerrormes......