Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- robert@SERVER:~$ mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 37
- Server version: 5.5.41-0ubuntu0.14.04.1 (Ubuntu)
- 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.
- mysql> SHOW DATABASES;
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | mysql |
- | performance_schema |
- +--------------------+
- 3 rows in set (0.00 sec)
- mysql> SHOW DATABASES;
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | mysql |
- | performance_schema |
- +--------------------+
- 3 rows in set (0.00 sec)
- mysql> q
- -> \q
- Bye
- robert@SERVER:~$ cd /var/log
- robert@SERVER:/var/log$ ls
- alternatives.log btmp kern.log speech-dispatcher
- alternatives.log.1 btmp.1 kern.log.1 syslog
- apache2 ConsoleKit kern.log.2.gz syslog.1
- apport.log cups kern.log.3.gz syslog.2.gz
- apport.log.1 dist-upgrade kern.log.4.gz syslog.3.gz
- apport.log.2.gz dmesg lastlog syslog.4.gz
- apport.log.3.gz dmesg.0 lightdm syslog.5.gz
- apport.log.4.gz dmesg.1.gz mysql syslog.6.gz
- apport.log.5.gz dmesg.2.gz mysql.err syslog.7.gz
- apport.log.6.gz dmesg.3.gz mysql.log teamviewer
- apport.log.7.gz dmesg.4.gz mysql.log.1.gz udev
- apt dpkg.log mysql.log.2.gz unattended-upgrades
- aptitude dpkg.log.1 mysql.log.3.gz upstart
- auth.log exim4 mysql.log.4.gz wtmp
- auth.log.1 faillog mysql.log.5.gz wtmp.1
- auth.log.2.gz fontconfig.log mysql.log.6.gz Xorg.0.log
- auth.log.3.gz fsck mysql.log.7.gz Xorg.0.log.old
- auth.log.4.gz gpu-manager.log pm-powersave.log xrdp-sesman.log
- boot.log hp pm-powersave.log.1
- bootstrap.log installer samba
- robert@SERVER:/var/log$ sudo nano mysql.log
- robert@SERVER:/var/log$ sudo nano mysql.err
- robert@SERVER:/var/log$ cd /mysql/
- -bash: cd: /mysql/: No such file or directory
- robert@SERVER:/var/log$ cd /mysql
- -bash: cd: /mysql: No such file or directory
- robert@SERVER:/var/log$ cd mysql
- robert@SERVER:/var/log/mysql$ ls
- error.log error.log.2.gz error.log.4.gz error.log.6.gz
- error.log.1.gz error.log.3.gz error.log.5.gz error.log.7.gz
- robert@SERVER:/var/log/mysql$ sudo nano error.log
- GNU nano 2.2.6 File: error.log
- 150227 13:08:37 [Warning] Using unique option prefix myisam-recover instead of $
- 150227 13:08:37 [Note] Plugin 'FEDERATED' is disabled.
- 150227 13:08:37 InnoDB: The InnoDB memory heap is disabled
- 150227 13:08:37 InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 150227 13:08:37 InnoDB: Compressed tables use zlib 1.2.8
- 150227 13:08:37 InnoDB: Using Linux native AIO
- 150227 13:08:37 InnoDB: Initializing buffer pool, size = 128.0M
- 150227 13:08:37 InnoDB: Completed initialization of buffer pool
- 150227 13:08:37 InnoDB: highest supported file format is Barracuda.
- 150227 13:08:37 InnoDB: Waiting for the background threads to start
- 150227 13:08:38 InnoDB: 5.5.41 started; log sequence number 1595685
- 150227 13:08:38 [Note] Server hostname (bind-address): '192.168.1.10'; port: 33$
- 150227 13:08:38 [Note] - '192.168.1.10' resolves to '192.168.1.10';
- 150227 13:08:38 [Note] Server socket created on IP: '192.168.1.10'.
- 150227 13:08:38 [Note] Event Scheduler: Loaded 0 events
- 150227 13:08:38 [Note] /usr/sbin/mysqld: ready for connections.
- Version: '5.5.41-0ubuntu0.14.04.1' socket: '/var/run/mysqld/mysqld.sock' port$
Advertisement
Add Comment
Please, Sign In to add comment