MySQL Error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL Error

Postby Gergely9135 » 03. December 2018 17:07

17:01:29 [mysql] Error: MySQL shutdown unexpectedly.
17:01:29 [mysql] This may be due to a blocked port, missing dependencies,
17:01:29 [mysql] improper privileges, a crash, or a shutdown by another method.
17:01:29 [mysql] Press the Logs button to view error logs and check
17:01:29 [mysql] the Windows Event Viewer for more clues
17:01:29 [mysql] If you need more help, copy and post this
17:01:29 [mysql] entire log window on the forums
The MySQL not start. :(

And how do I share MYSQL with others to edit it? :/
Help please! :/
Gergely9135
 
Posts: 8
Joined: 03. December 2018 17:03
XAMPP version: 3.2.2
Operating System: Windows 10

Re: MySQL Error

Postby Altrea » 03. December 2018 18:20

This is not the entire log window!

Did you click the Log button to get the mysql_error.log?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9681
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: MySQL Error

Postby Gergely9135 » 04. December 2018 14:48

2018-12-04 14:49:59 1d24 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2018-12-04 14:49:59 7460 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2018-12-04 14:49:59 7460 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-12-04 14:49:59 7460 [Note] InnoDB: The InnoDB memory heap is disabled
2018-12-04 14:49:59 7460 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-12-04 14:49:59 7460 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-12-04 14:49:59 7460 [Note] InnoDB: Compressed tables use zlib 1.2.11
2018-12-04 14:49:59 7460 [Note] InnoDB: Using generic crc32 instructions
2018-12-04 14:49:59 7460 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-12-04 14:49:59 7460 [Note] InnoDB: Completed initialization of buffer pool
2018-12-04 14:49:59 7460 [Note] InnoDB: Highest supported file format is Barracuda.
2018-12-04 14:49:59 7460 [Note] InnoDB: 128 rollback segment(s) are active.
2018-12-04 14:49:59 7460 [Note] InnoDB: Waiting for purge to start
2018-12-04 14:49:59 7460 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.41-84.1 started; log sequence number 6800725
2018-12-04 14:49:59 3816 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-12-04 14:49:59 7460 [Note] Plugin 'FEEDBACK' is disabled.
2018-12-04 14:49:59 7460 [ERROR] C:\xampp\mysql\bin\mysqld.exe: unknown option '--Change here for bind listening'
2018-12-04 14:49:59 7460 [ERROR] Aborting
Gergely9135
 
Posts: 8
Joined: 03. December 2018 17:03
XAMPP version: 3.2.2
Operating System: Windows 10

Re: MySQL Error

Postby Gergely9135 » 04. December 2018 14:49

And how to share my mysql to connect my friends and forward my IP and the Port?
Gergely9135
 
Posts: 8
Joined: 03. December 2018 17:03
XAMPP version: 3.2.2
Operating System: Windows 10

Re: MySQL Error

Postby Altrea » 04. December 2018 18:48

Please show us your my.ini configuration file.
You uncommented a line which needs to stay a comment.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9681
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: MySQL Error

Postby Gergely9135 » 05. December 2018 17:29

# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# You can copy this file to
# C:/xampp/mysql/bin/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:/xampp/mysql/data) or
# ~/.my.cnf to set user-specific options.
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.

# The following options will be passed to all MySQL clients
[client]
# password = your_password
port = 3306
socket = "C:/xampp/mysql/mysql.sock"


# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port= 3306
socket = "C:/xampp/mysql/mysql.sock"
basedir = "C:/xampp/mysql"
tmpdir = "C:/xampp/tmp"
datadir = "C:/xampp/mysql/data"
pid_file = "mysql.pid"
# enable-named-pipe
key_buffer = 16M
max_allowed_packet = 1M
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
log_error = "mysql_error.log"

Change here for bind listening
bind-address="127.0.0.1"
# bind-address = ::1 # for ipv6

# Where do all the plugins live
plugin_dir = "C:/xampp/mysql/lib/plugin/"

# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
# commented in by lampp security
#skip-networking
#skip-federated

# Replication Master Server (default)
# binary logging is required for replication
# log-bin deactivated by default since XAMPP 1.4.11
#log-bin=mysql-bin

# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1

# Replication Slave (comment out master section to use this)
#
# To configure this host as a replication slave, you can choose between
# two methods :
#
# 1) Use the CHANGE MASTER TO command (fully described in our manual) -
# the syntax is:
#
# CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
# MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
#
# where you replace <host>, <user>, <password> by quoted strings and
# <port> by the master's port number (3307 by default).
#
# Example:
#
# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3307,
# MASTER_USER='joe', MASTER_PASSWORD='secret';
#
# OR
#
# 2) Set the variables below. However, in case you choose this method, then
# start replication for the first time (even unsuccessfully, for example
# if you mistyped the password in master-password and the slave fails to
# connect), the slave will create a master.info file, and any later
# change in this file to the variables' values below will be ignored and
# overridden by the content of the master.info file, unless you shutdown
# the slave server, delete master.info and restart the slaver server.
# For that reason, you may want to leave the lines below untouched
# (commented) and instead use CHANGE MASTER TO (see above)
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id = 2
#
# The replication master for this slave - required
#master-host = <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user = <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password = <password>
#
# The port the master is listening on.
# optional - defaults to 3307
#master-port = <port>
#
# binary logging - not required for slaves, but recommended
#log-bin=mysql-bin


# Point the following paths to different dedicated disks
#tmpdir = "C:/xampp/tmp"
#log-update = /path-to-dedicated-directory/hostname

# Uncomment the following if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000

# Comment the following if you are using InnoDB tables
#skip-innodb
innodb_data_home_dir = "C:/xampp/mysql/data"
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = "C:/xampp/mysql/data"
#innodb_log_arch_dir = "C:/xampp/mysql/data"
## You can set .._buffer_pool_size up to 50 - 80 %
## of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
## Set .._log_file_size to 25 % of buffer pool size
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50

## UTF 8 Settings
#init-connect=\'SET NAMES utf8\'
#collation_server=utf8_unicode_ci
#character_set_server=utf8
#skip-character-set-client-handshake
#character_sets-dir="C:/xampp/mysql/share/charsets"

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout
Gergely9135
 
Posts: 8
Joined: 03. December 2018 17:03
XAMPP version: 3.2.2
Operating System: Windows 10

Re: MySQL Error

Postby Altrea » 06. December 2018 12:32

Gergely9135 wrote:log_error = "mysql_error.log"

Change here for bind listening
bind-address="127.0.0.1"


This line in red needs to be commented out by a # sign.
That's the reason your MySQL cannot start.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9681
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: MySQL Error

Postby Gergely9135 » 07. December 2018 15:11

Tkanks! And how to share the mysql to connect the MySQL with my friend. I want to share my phpmyadmin. Please Help!
Gergely9135
 
Posts: 8
Joined: 03. December 2018 17:03
XAMPP version: 3.2.2
Operating System: Windows 10

Re: MySQL Error

Postby Nobbie » 07. December 2018 19:27

Do you want to share phpmyadmin or MySQL Database? What is the public IP of your Xampp server? You have to apply that IP to your friend.
Nobbie
 
Posts: 10985
Joined: 09. March 2008 13:04

Re: MySQL Error

Postby Gergely9135 » 07. December 2018 20:50

2018-12-07 15:15:18 2680 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2018-12-07 15:15:18 9856 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2018-12-07 15:15:18 9856 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-12-07 15:15:18 9856 [Note] InnoDB: The InnoDB memory heap is disabled
2018-12-07 15:15:18 9856 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-12-07 15:15:18 9856 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-12-07 15:15:18 9856 [Note] InnoDB: Compressed tables use zlib 1.2.11
2018-12-07 15:15:18 9856 [Note] InnoDB: Using generic crc32 instructions
2018-12-07 15:15:18 9856 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-12-07 15:15:18 9856 [Note] InnoDB: Completed initialization of buffer pool
2018-12-07 15:15:18 9856 [Note] InnoDB: Highest supported file format is Barracuda.
2018-12-07 15:15:19 9856 [Note] InnoDB: 128 rollback segment(s) are active.
2018-12-07 15:15:19 9856 [Note] InnoDB: Waiting for purge to start
2018-12-07 15:15:19 9856 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.41-84.1 started; log sequence number 6800795
2018-12-07 15:15:19 5196 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-12-07 15:15:19 9856 [Note] Plugin 'FEEDBACK' is disabled.
2018-12-07 15:15:19 9856 [ERROR] C:\xampp\mysql\bin\mysqld.exe: unknown option '--Change here for bind listening'
2018-12-07 15:15:19 9856 [ERROR] Aborting



dont working
Gergely9135
 
Posts: 8
Joined: 03. December 2018 17:03
XAMPP version: 3.2.2
Operating System: Windows 10

Re: MySQL Error

Postby Altrea » 07. December 2018 21:01

Because you did something wrong.
MySQL still think the line I mentioned is active.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9681
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: MySQL Error

Postby Gergely9135 » 09. December 2018 16:52

The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why.
Or alternately go to 'Operations' tab of any database to set it up there.
Open new phpMyAdmin window
The secret passphrase in configuration (blowfish_secret) is too short.
this is the phpmyadmin...
Gergely9135
 
Posts: 8
Joined: 03. December 2018 17:03
XAMPP version: 3.2.2
Operating System: Windows 10

Re: MySQL Error

Postby Altrea » 10. December 2018 08:51

Do you have any problems using phpmyadmin despite these messages?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9681
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: MySQL Error

Postby Gergely9135 » 14. December 2018 13:23

You do not have privileges to manipulate with the users!
I don't create users. why?
Gergely9135
 
Posts: 8
Joined: 03. December 2018 17:03
XAMPP version: 3.2.2
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 54 guests