Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=start and stop MySQL(MariaDB) Server
- After=syslog.target
- After=network.target
- [Service]
- Type=simple
- User=Umariadb
- Group=Gmariadb
- # Restart=always
- # PermissionsStartOnly=true
- ExecStart=/usr/local/ServerWeb/mariadb/bin/mysqld_safe --user=mysql --ledir=/usr/local/ServerWeb/mariadb/bin --datadir=/usr/local/ServerWeb/mariadb/data
- # ExecStop=/usr/bin/vgaoff stop
- TimeoutSec=300
- PrivateTmp=true
- [Install]
- WantedBy=multi-user.target
- systemctl enable mariadb.service
- sudo /usr/local/ServerWeb/mariadb/bin/mysqld_safe --user=mysql --ledir=/usr/local/ServerWeb/mariadb/bin --datadir=/usr/local/ServerWeb/mariadb/data
- $ sudo /usr/local/ServerWeb/mariadb/bin/mysqld_safe --user=mysql --ledir=/usr/local/ServerWeb/mariadb/bin --datadir=/usr/local/ServerWeb/mariadb/data
- [sudo] password for joseluisbz:
- 170308 19:54:07 mysqld_safe Logging to '/usr/local/ServerWeb/mariadb/data/server.err'.
- 170308 19:54:07 mysqld_safe Starting mysqld daemon with databases from /usr/local/ServerWeb/mariadb/data
- 2017-03-08 19:54:07 140588539000704 [Note] /usr/local/ServerWeb/mariadb/bin/mysqld (mysqld 10.1.20-MariaDB) starting as process 4411 ...
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: The InnoDB memory heap is disabled
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Compressed tables use zlib 1.2.3
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Using Linux native AIO
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Using SSE crc32 instructions
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Completed initialization of buffer pool
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Highest supported file format is Barracuda.
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: 128 rollback segment(s) are active.
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Waiting for purge to start
- 2017-03-08 19:54:07 140588539000704 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1622938
- 2017-03-08 19:54:07 140588539000704 [Note] Plugin 'FEEDBACK' is disabled.
- 2017-03-08 19:54:07 140587999135488 [Note] InnoDB: Dumping buffer pool(s) not yet started
- 2017-03-08 19:54:07 140588539000704 [Note] Server socket created on IP: '::'.
- 2017-03-08 19:54:08 140588539000704 [Note] /usr/local/ServerWeb/mariadb/bin/mysqld: ready for connections.
- Version: '10.1.20-MariaDB' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server
- [joseluisbz@Vxbox-Lnx ~]$ mysql -u root -p
- Enter password:
- Welcome to the MariaDB monitor. Commands end with ; or g.
- Your MariaDB connection id is 2
- Server version: 10.1.20-MariaDB MariaDB Server
- Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
- Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
- MariaDB [(none)]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement