Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all 7172 articles
Browse latest View live

Error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (no replies)

$
0
0
Hi all,

I have a question about MySQL in Centos 6.7 server, please you help me

Mysql server is a error "can't connect server through socket "/var/lib/mysql/mysql.sock", I didn't found that file. I resolved this error by created a mysql.sock file with empty data in there, and restart mysql normal.

Now, let me ask this error occurs again in the future and when happened?

Many thank you all,
Khanh Pham

Troubleshooting installation: mysql-5.7.16-osx10.11-x86_64.dmg (no replies)

$
0
0
I downloaded and installed mysql-5.7.16-osx10.11-x86_64.dmg

The first time I clicked on the 'Starty MySQL Server' button and entered my password, the system came back with an error message: 'Could not startup MySQL Server. Reason: 255'

I reinstalled mysql-5.7.16-osx10.11-x86_64.dmg

Now when I click on 'Start MySQL Server' in the Preference pane and enter my password, the procedure does what it does before asking me for my password again 5 minutes later. This continues at exactly 5 minute intervals. I've done that for 10 iterations now. Make that 11 times now...

Any advice? Suggestions?

Install cluster on Windows help please! (no replies)

$
0
0
Hi All,

I just want to say that I am new to mysql and have searched the internet for the answers before posting, but have not been successful.
Here is what I am trying to do:
2 hosts, with the possiblity of more in the future. I want to run a cluster by having 1 host with mysql server, data node, and management node. The second will have a data node and mysql server.
I would like to know first if I need to install the mysql server separately from the cluster?
Second, every site I visit has a different command for starting the nodes in the cluster...is there some where that has them with explaination? I know the mysql site has a tutorial, but when I use those commands, it doesn't seem to start.

Thanks in advance!

Alon

downloading community edition (no replies)

$
0
0
I have tried to download the community edition. Unsuccessful with following message:
No compatible servers were found. You'll need to cancel this wizard and install one.
Where would I find a compatible server and how would I download it.
Windows 10 OS

Error while installing mysql-server on raspbian (no replies)

$
0
0
Hi,


I try to install mysql server on raspbian-lite via SSH and then I have thoses error codes :

Can someone help me please ?



Processing triggers for systemd (215-17+deb8u5) ...
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@raspberrypi:/run/mysqld# systemctl status mysql.service
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Fri 2016-12-02 20:58:31 UTC; 5min ago

Dec 02 20:57:51 raspberrypi mysql[13662]: /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Deb...ning).
Dec 02 20:57:51 raspberrypi /etc/init.d/mysql[13672]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
Dec 02 20:58:31 raspberrypi /etc/init.d/mysql[14121]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/m...ed in
Dec 02 20:58:31 raspberrypi mysql[13662]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . ....ailed!
Dec 02 20:58:31 raspberrypi systemd[1]: mysql.service: control process exited, code=exited status=1
Dec 02 20:58:31 raspberrypi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Dec 02 20:58:31 raspberrypi systemd[1]: Unit mysql.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.


root@raspberrypi:/run/mysqld# systemctl status mysql.service -l
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Fri 2016-12-02 20:58:31 UTC; 6min ago

Dec 02 20:57:51 raspberrypi mysql[13662]: /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz ... (warning).
Dec 02 20:57:51 raspberrypi /etc/init.d/mysql[13672]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
Dec 02 20:58:31 raspberrypi /etc/init.d/mysql[14121]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Dec 02 20:58:31 raspberrypi mysql[13662]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Dec 02 20:58:31 raspberrypi systemd[1]: mysql.service: control process exited, code=exited status=1
Dec 02 20:58:31 raspberrypi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Dec 02 20:58:31 raspberrypi systemd[1]: Unit mysql.service entered failed state.

After moving datadir, mysql won't start (no replies)

$
0
0
Hi.

I have installed MySQL 5.7 onto Ubuntu 16.04. I have tried to move the datadir using the following instructions.

- sudo /etc/init.d/mysql stop
- sudo cp -R -p /var/lib/mysql /data/mysql/data
- edit /etc/MySQL/my.cnf. change datadir to /data/mysql/data
- sudo pico /etc/apparmor.d/tunables/alias and add the line...
alias /var/lib/mysql/ -> /data/mysql/data/,
- sudo /etc/init.d/apparmor reload
- sudo rm -rf /var/lib/mysql
- sudo /etc/init.d/mysql start

I get the message ...Dec 6 10:17:16 ubuntu16mysql57-jab systemd[1]: Starting MySQL Community Server...
Dec 6 10:17:16 ubuntu16mysql57-jab mysql-systemd-start[18924]: MySQL data dir not found at /var/lib/mysql. Please create one.
Dec 6 10:17:16 ubuntu16mysql57-jab systemd[1]: mysql.service: Control process exited, code=exited status=1
Dec 6 10:17:16 ubuntu16mysql57-jab systemd[1]: Failed to start MySQL Community Server.
Dec 6 10:17:16 ubuntu16mysql57-jab systemd[1]: mysql.service: Unit entered failed state.
Dec 6 10:17:16 ubuntu16mysql57-jab systemd[1]: mysql.service: Failed with result 'exit-code'.
Dec 6 10:17:16 ubuntu16mysql57-jab systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Dec 6 10:17:16 ubuntu16mysql57-jab systemd[1]: Stopped MySQL Community Server.


I have also tried editing /etc/apparmor.d/local/usr.sbin.mysqld, changing /var/lib/mysql to /data/MySQL/data and restarting apparmor.

Also, folder permissions look correct as mysql is the owner of /data/mysql/data.

Any help would be appreciated. Have spent days trying to figure out why it still wants /var/lib/mysql.

Thanks.

John










-

Installation error (1 reply)

$
0
0
I can't install mysql to my computer.

I used Crouton to get to Ubuntu 16.04 from chrome os.

(precise)username@localhost:/$ which mysql
/usr/bin/mysql
(precise)username@localhost:/$ mysql --version
mysql Ver 14.14 Distrib 5.7.16, for Linux (x86_64) using EditLine wrapper
(precise)username@localhost:/$ find / -name "mysql*"
/usr/share/mysql
/usr/share/mysql/mysql-systemd-start
/usr/share/mysql/mysql_system_tables.sql
/usr/share/mysql/mysql_test_data_timezone.sql
/usr/share/mysql/mysqld_multi.server
/usr/share/mysql/mysql_sys_schema.sql
/usr/share/mysql/mysql-log-rotate
/usr/share/mysql/mysql_security_commands.sql
/usr/share/mysql/mysql_system_tables_data.sql
/usr/bin/mysqldump
/usr/bin/mysql_plugin
/usr/bin/mysqlpump
/usr/bin/mysqlshow
/usr/bin/mysqld_safe
/usr/bin/mysql_ssl_rsa_setup
/usr/bin/mysqloptimize
/usr/bin/mysql_install_db
/usr/bin/mysql_embedded
/usr/bin/mysqldumpslow
/usr/bin/mysql_upgrade
/usr/bin/mysqlreport
/usr/bin/mysql_tzinfo_to_sql
/usr/bin/mysqlcheck
/usr/bin/mysqladmin
/usr/bin/mysqlimport
/usr/bin/mysql_secure_installation
/usr/bin/mysqlbinlog
/usr/bin/mysql_config_editor
/usr/bin/mysqlanalyze
/usr/bin/mysqlslap
/usr/bin/mysqld_multi
/usr/bin/mysql
/usr/bin/mysqlrepair
/var/log/mysql.log
/var/log/mysql.err
/var/log/mysql
(precise)username@localhost:/usr/bin$ service mysqld start
bash: service: command not found
(precise)username@localhost:/usr/bin$ sudo service mysqld start
[sudo] password for username:
mysqld: unrecognized service
(precise)usernamen@localhost:/usr/bin$ systemctl mysqld start
Unknown operation mysqld.
(precise)username@localhost:/usr/bin$ sudo systemctl mysqld start
Unknown operation mysqld.
(precise)username@localhost:/usr/bin$ /etc/init.d/mysqld start
bash: /etc/init.d/mysqld: No such file or directory
(precise)username@localhost:/usr/bin$ /etc/rc.d/init.d/mysqld start
bash: /etc/rc.d/init.d/mysqld: No such file or directory
(precise)username@localhost:/usr/bin$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
(precise)username@localhost:/usr/bin$ sudo find / -type s
/run/user/1000/keyring-VyxIGF/control
/run/user/1000/pulse/native
/run/dbus/system_bus_socket
find: `/proc/28678/task/28678/fd/5': No such file or directory
find: `/proc/28678/task/28678/fdinfo/5': No such file or directory
find: `/proc/28678/fd/5': No such file or directory
find: `/proc/28678/fdinfo/5': No such file or directory
/home/username/.cache/keyring-158RPz/control
/tmp/.com.google.Chrome.36cKpe/SingletonSocket
/tmp/ssh-mR4D8bUJPFr5/agent.13882
/tmp/.ICE-unix/13866
/tmp/.X11-unix/X1
/tmp/.com.google.Chrome.aUkrQH/SingletonSocket
/dev/log
/var/host/dbus/system_bus_socket
/var/host/chrome/wayland-0
/var/host/udev/control
/var/host/cras/.cras_socket
(precise)username@localhost:/usr/bin$ chmod 777 /var/run/mysqld/mysqld.sock
chmod: cannot access ‘/var/run/mysqld/mysqld.sock’: No such file or directory
(precise)username@localhost:/usr/bin$ ps ax | grep mysql
30354 pts/2 S+ 0:00 grep --color=auto mysql

Can someone help me base on my command line output?

Incorrect database name '#mysql50#.ssh' when selecting the database during mysqldump (no replies)

$
0
0
Hi,

I'm getting error "Incorrect database name '#mysql50#.ssh' when selecting the database" while executing mysqldump

CMD> sudo mysqldump --all-databases -u root -p --flush-logs --single-transaction > all_databases.sql

Using Server version: 5.1.56

Please help me in resolving this issue

Thank You!

Regards,
Amit Shrivastava

Leap Second in December 2016 (no replies)

$
0
0
Hello MySQL users,

Does MySQL provide patches to manage the leap second that occurs at the end of the year or is something that doesn't affect MySQL at all, is it more like a OS level kind of issue?

Thank you.

Cant install MySql because the digital signature is invalid? (no replies)

$
0
0
As the subject, i can't install the .dmg file on my mac because it says the digital signature are invalid? I have checked the Md5 checksum and it is the same as on the download page.

What to do?

Sync database on client laptop (1 reply)

$
0
0
I've been trying to get motivated enough to start a personal project that will hopefully teach me enough to where I can take what I have created, and use it as a skill set when looking for side work setting up small databases' for small office environments requiring sharing data for reports and inventory management or even project management.

I would like to setup a MySQL database on my hosted domain and also install the same database on a client computers or laptops which will sync with the online database, thus keeping all the data current across all client machines via internet connection.

I have my own, one man computer business and keeping track of what I do is a nightmare. I did set up a rather large MS ACCESS database and its nice, however, i need access to it while I'm mobile so I can just update information live while I'm working--this seems impossible. I would like to build a customer database with all my clients and the jobs I do, parts I buy and my expenses and be able to just boot my LINUX laptop and update my job information locally while I'm working and be done with it. I should be able to go to any web browser and log into it from any computer OR have a copy of the database on my laptop always available with the ability to sync with the online data....

Quickbooks and Quicken....and even any basic email client such asThundrbird all can do this....

I want my own database to do the same thing....why is this such a guarded top secret issue.....only seems like its common sense that people would want a wizard that would step through setting this up, with VPN and certs and all...

Of course this would have a PHP built UI

am I crazy for wanting this...

Thanks guys..

Choppie

Move Data directory and Upgrade version (3 replies)

$
0
0
Hello,

I have several schemas created with the MySQL version that was installed on my laptop before I had the Windows 10 crash. It was MySQL 5.1.73 probably, because I still have its MSI installer in my HD.

I have installed MySQL 5.7 Community version and I would like to change the driver and folder where MySQL data is saved to and bring those old schemas to the new installation.

I have no any MySQL backup, is that possible ? If I change my.ini and set datadir to the old datadir folder the MySQL service fail to start.

Is my task possible to do ?

Thank you very much.

adding Mysql 8.0 Apt repo does not show packages... (no replies)

Access denied for user 'root'@'localhost' (2 replies)

$
0
0
Why is my access being denied?
mysql -u root -p
Enter password: *********
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I installed MySQL 5.7.17 Community on Windows 10.
Used the sequence described in the Ref Manual in 2.11.1 Upgrading MySQL and the section titled Performing a Logical Upgrade. Also followed several cross-references in that section.

1- Reviewed 2.11.1
2- Used MySQLDump to offload my data.
3- Shut down server.
Removed the software using Windows functions. Removed old folders on hard drive.
4- Installed with the MySQL Installer.
5- Skipped initialize data directory. Section 2.3.7 says Installer does it.
6- Start server with mysqld_safe - ERROR mysqld_safe not recognized
So rebooted to start server.
7- Reset root password. The one I set during install was OK, so I skipped this.
8- Reloaded data. All OK. USED THE ROOT PASSWORD HERE.
9- Ran mysql_upgrade. Two messages but all went OK.
10 Shutdown and re-start. Re-booted (as mysqld_safe no good).

Tried to start mysql to define USERS and GRANTS and I got the ACCESS DENIED error.
Why did it work to reload the data and not here? What have I missed?

Thanks,
WillB

SSL Connection warning on every SQL call (no replies)

$
0
0
Have just updated from 5.5 to 5.7.17.

Every time one of my Java programs issues a Select or Update to MySQL, I get a long-winded WARN message:
Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

While I understand the idea of the message, the "fixes" are above my technical prowess.

1) Where do I set the parameter "useSSL=false"? I tried putting it in my.ini but got errors from MySQL that it was an invalid parameter.
2) This is a system where all users come in through Remote Desktop Connection. If I do set useSSL=false are there security concerns?

Thank you.
WIllB

installing mysql on mac - two directories query. (no replies)

$
0
0
hello,

I'm new to MySQL and databases. I'm trying to get to grips with the deeper structure and I'm confused about why there are apparently two locations after installing MySQL and I was hoping someone could clarify what each is for?

I have this:

/usr/local/mysql-5.7.17-macos10.12-x86_64/

and this:

/usr/local/mysql/

Why are there two mySQL related directories in the local folder? In terminal access the database by doing this to login: cd ./usr/local/mysql/bin and then typing: mysql -u root -p 'password'.

However if the database is stored in the data folder and everything apparently seems to be happening in the /usr/local/mysql folder, what is this for:/usr/local/mysql-5.7.17-macos10.12-x86_64/

It's been bugging me for a day now and I've not been able to find anything online other than the bottom of this URL: https://dev.mysql.com/doc/refman/5.6/en/osx-installation-pkg.html
, which doesn't really make sense to me

thanks for your help! :)

mysqld --initialize (Errcode: 17 - File exists) (no replies)

$
0
0
hi,
i install mysql on Ubuntu 16.04.1 LST

after installation, i change the DB directory.

when i run mysqld --initialize, com output "(Errcode: 17 - File exists)" !

the dirictoru ist mysql owner and grup, permission is 0755 !

when i delet the therictori, is the errorcode 13, permission denedy !

thasnk you for you help !

Philip



my my.cnf
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0

[mysqld]
#
# * Basic Settings
#
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /local_data/db/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
explicit_defaults_for_timestamp = 1

Upgrading from MySql server from 5.6 to 5.7. (no replies)

$
0
0
I am attempting to do an in-place upgrade for MySQL server from 5.6.31 to 5.7.14.
I have with me .msi files for 5.7.14 and 5.6.35
when I execute the .msi files it detects the previously installed version of the server and provides me options to remove, upgrade etc.
When I attempt to upgrade from 5.6. to 5.6.35, through the .msi file of 5.6.35 it happens seamlessly, whereas for 5.7.14 I am confronted with a message stating "none of the products have upgrades available".
http://dev.mysql.com/doc/refman/5.7/en/upgrading.html - in this link it clearly states that "Upgrading one release level is supported."

The .msi for 5.7.14's server is present in "C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache" folder at the time when I attempt to upgrade. then why is it giving me the error message?

Can you please help me do an in-place upgrade, up a release level, without having to uninstall the existing version and reinstalling the new one (without loosing the existing database)?

Installing Mysql Community 7.5.16 on CentOS 6.8 (no replies)

$
0
0
I am trying to install Mysql Community 7.5.16 on CentOS 6.8.
I followed all the instructions in the installation, and almost got to
the end, but when I write the command

service mysqld start

For the first time, mysqld seems to be starting but suddenly goes down.
I am including all the information that the command gives me.

# cat /etc/my.cnf
[mysqld]
datadir = /var/lib/mysql #
socket = /var/lib/mysql/mysql.sock #
port = 3306 #
user = mysql #
explicit_defaults_for_timestamp = 1 #
slow_query_log = 1 #
slow_query_log_file = mysql-slow-queries #
long_query_time = 2 #
# #
[mysqld_safe]
log-error = /var/log/mysqld.log #
pid-file = /var/run/mysqld/mysqld.pid #
# #
[mysql]


First time start of mysqld
**************************

# service mysqld start
Initializing MySQL database:
2016-10-22 T15:48:24.729017Z 0 [Warning] InnoDB: New log files created, LSN=45790
2016-10-22 T15:48:25.271869Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2016-10-22 T15:48:25.367096Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started.
Generating a new UUID: f7dd2da0-986e-11e6-92c8-d067e5e72edb.
2016-10-22 T15:48:25.396388Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2016-10-22 T15:48:25.397246Z 1 [Note] A temporary password is generated for root@localhost: VSb97u*PbDv<
[ OK ]
Installing validate password plugin:
2016-10-22 T15:48:38.718398Z 0 [Warning] Insecure configuration for --secure-file-priv: Location is accessible to all OS users.
Consider choosing a different directory.
2016-10-22 T15:48:38.718438Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.16-log) starting as process 2636 ...
2016-10-22 T15:48:38.721254Z 0 [Note] InnoDB: PUNCH HOLE support available
2016-10-22 T15:48:38.721265Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-10-22 T15:48:38.721269Z 0 [Note] InnoDB: Uses event mutexes
2016-10-22 T15:48:38.721273Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2016-10-22 T15:48:38.721276Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-10-22 T15:48:38.721279Z 0 [Note] InnoDB: Using Linux native AIO
2016-10-22 T15:48:38.721458Z 0 [Note] InnoDB: Number of pools: 1
2016-10-22 T15:48:38.721525Z 0 [Note] InnoDB: Using CPU crc32 instructions
2016-10-22 T15:48:38.722406Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2016-10-22 T15:48:38.728202Z 0 [Note] InnoDB: Completed initialization of buffer pool
2016-10-22 T15:48:38.729762Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed.
See the man page of setpriority().
2016-10-22 T15:48:38.741782Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2016-10-22 T15:48:38.792549Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2016-10-22 T15:48:38.792598Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2016-10-22 T15:48:39.171566Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2016-10-22 T15:48:39.172805Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2016-10-22 T15:48:39.172821Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2016-10-22 T15:48:39.174067Z 0 [Note] InnoDB: Waiting for purge to start
2016-10-22 T15:48:39.224222Z 0 [Note] InnoDB: 5.7.16 started; log sequence number 2532845
2016-10-22 T15:48:39.224662Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2016-10-22 T15:48:39.224814Z 0 [Note] Plugin 'FEDERATED' is disabled.
2016-10-22 T15:48:39.226331Z 0 [Note] InnoDB: Buffer pool(s) load completed at 161022 11:48:39
2016-10-22 T15:48:39.230271Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without
certificate and private key
2016-10-22 T15:48:39.230281Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2016-10-22 T15:48:39.230331Z 0 [Note] IPv6 is available.
2016-10-22 T15:48:39.230337Z 0 [Note] - '::' resolves to '::';
2016-10-22 T15:48:39.230351Z 0 [Note] Server socket created on IP: '::'.
2016-10-22 T15:48:39.272299Z 0 [Note] Event Scheduler: Loaded 0 events
2016-10-22 T15:48:39.272389Z 0 [Note] Execution of init_file '/var/lib/mysql/install-validate-password-plugin.92FH3L.sql' started.
2016-10-22 T15:48:39.314133Z 0 [Note] Execution of init_file '/var/lib/mysql/install-validate-password-plugin.92FH3L.sql' ended.
2016-10-22 T15:48:39.314242Z 0 [Note] /usr/sbin/mysqld: ready for connections.

Version: '5.7.16-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)

2016-10-22 T15:48:39.314524Z 0 [Note] Giving 0 client threads a chance to die gracefully
2016-10-22 T15:48:39.314552Z 0 [Note] Shutting down slave threads
2016-10-22 T15:48:39.314566Z 0 [Note] Forcefully disconnecting 0 remaining clients
2016-10-22 T15:48:39.314582Z 0 [Note] Event Scheduler: Purging the queue. 0 events
2016-10-22 T15:48:39.314693Z 0 [Note] Binlog end
2016-10-22 T15:48:39.315255Z 0 [Note] Shutting down plugin 'ngram'
2016-10-22 T15:48:39.315270Z 0 [Note] Shutting down plugin 'ARCHIVE'
2016-10-22 T15:48:39.315275Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2016-10-22 T15:48:39.315281Z 0 [Note] Shutting down plugin 'partition'
2016-10-22 T15:48:39.315287Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2016-10-22 T15:48:39.315331Z 0 [Note] Shutting down plugin 'MEMORY'
2016-10-22 T15:48:39.315339Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2016-10-22 T15:48:39.315345Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2016-10-22 T15:48:39.315350Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2016-10-22 T15:48:39.315354Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2016-10-22 T15:48:39.315359Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2016-10-22 T15:48:39.315364Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2016-10-22 T15:48:39.315368Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2016-10-22 T15:48:39.315373Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2016-10-22 T15:48:39.315378Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2016-10-22 T15:48:39.315382Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2016-10-22 T15:48:39.315386Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2016-10-22 T15:48:39.315391Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2016-10-22 T15:48:39.315395Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2016-10-22 T15:48:39.315400Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2016-10-22 T15:48:39.315404Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2016-10-22 T15:48:39.315409Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2016-10-22 T15:48:39.315414Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2016-10-22 T15:48:39.315418Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2016-10-22 T15:48:39.315422Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2016-10-22 T15:48:39.315427Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2016-10-22 T15:48:39.315431Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2016-10-22 T15:48:39.315436Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2016-10-22 T15:48:39.315440Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2016-10-22 T15:48:39.315444Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2016-10-22 T15:48:39.315449Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2016-10-22 T15:48:39.315453Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2016-10-22 T15:48:39.315458Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2016-10-22 T15:48:39.315462Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2016-10-22 T15:48:39.315467Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2016-10-22 T15:48:39.315471Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2016-10-22 T15:48:39.315475Z 0 [Note] Shutting down plugin 'InnoDB'
2016-10-22 T15:48:39.315582Z 0 [Note] InnoDB: FTS optimize thread exiting.
2016-10-22 T15:48:39.315688Z 0 [Note] InnoDB: Starting shutdown...
2016-10-22 T15:48:39.415830Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2016-10-22 T15:48:39.416106Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 161022 11:48:39
2016-10-22 T15:48:41.054170Z 0 [Note] InnoDB: Shutdown completed; log sequence number 2533084
2016-10-22 T15:48:41.058284Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2016-10-22 T15:48:41.058304Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2016-10-22 T15:48:41.058316Z 0 [Note] Shutting down plugin 'CSV'
2016-10-22 T15:48:41.058325Z 0 [Note] Shutting down plugin 'MyISAM'
2016-10-22 T15:48:41.058334Z 0 [Note] Shutting down plugin 'sha256_password'
2016-10-22 T15:48:41.058340Z 0 [Note] Shutting down plugin 'mysql_native_password'
2016-10-22 T15:48:41.058545Z 0 [Note] Shutting down plugin 'binlog'
2016-10-22 T15:48:41.058925Z 0 [Note] /usr/sbin/mysqld: Shutdown complete

[ OK ]
MySQL Daemon failed to start.
Starting mysqld: [FAILED]


And these are the entries in the log.

entries in /var/log/mysql.log
*****************************

2016-10-22 T15:48:41.684266Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2016-10-22 T15:48:41.857323Z mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

What is the reason for mysqld to die suddenly.?

Thank you for your help with this questions.

Arturo Puente

reset root password (1 reply)

$
0
0
Hello

I have inherited a monitoring server that makes use of an mysql backend and i need to reset the root password to perform a schema upgrade required by the application. I know this is possible, but can't find a definate set of instructions for this. Can anyone assist please?

Thanks
Karl
Viewing all 7172 articles
Browse latest View live




Latest Images