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

Error in accept: Bad file descriptor (no replies)

$
0
0
After working for years on Ubuntu 14.04 (on OpenVZ) without any problem, I installed a new Ubuntu 16.04.01 LTS running on OpenVZ.

I set it up as a LEMP stack.

The problem is that after a while (hours), mysqld starts consuming 100% CPU and the error log is filled with strange 'Error in accept: Bad file descriptor' errors, over and over again, the err file quicly became 4Gb large.

MySql needs to be setup for replication. With replication enabled, the bin.err file is written in the same way.

I just can't figure out what happens and why. The only thing I did out of the ordinary was to set 'mysqld: ALL' in hosts.deny and 'ALL: LOCAL' and a specific IP in hosts.allow, to allow the replication.

Any idea about what's happening? I want to find the root cause for this rather than to assume it's tcpwrappers-related and hope for the best.

No MySQL 5.7 on Solaris 10 (no replies)

$
0
0
There appears to be GA packages for MySQL server for 5.6 and 5.5 but nothing from the 5.7 line for Solaris 10. It is highly unlikely that anyone is going to upgrade from very super stable Solaris 10 to Solaris 11 just to install a MySQL server. So why don't these packages exist ?

No SSL support in libmysqlclient ? (no replies)

$
0
0
There appears to be no SSL support in the libmysqlclient libs for MySQL 5.5.x or MySQL 5.6.x on Solaris. Is there no SSL support at all in any release version of MySQL ?

MySQL doesn't work with multiple instances on systemd (1 reply)

$
0
0
Hey,

I'm following the documentation here (https://dev.mysql.com/doc/refman/5.7/en/server-management-using-systemd.html#systemd-multiple-mysql-instances) on Ubuntu Server 16.04.1 but the service will not start as documented. Here is what I see:

$ my_print_defaults --defaults-file=/etc/mysql/my.cnf mysqld@mysqld10
--user=root
--pid-file=/var/run/mysqld10.pid
--socket=/var/run/mysqld10.sock
--port=3306
--basedir=/usr
--datadir=/var/lib/mysql10
--tmpdir=/tmp
--lc-messages-dir=/usr/share/mysql
--skip-external-locking
--key_buffer=16M
--max_allowed_packet=16M
--thread_stack=192K
--thread_cache_size=8
--myisam-recover=BACKUP
--query_cache_limit=1M
--query_cache_size=16M
--log_error=/var/log/mysql10/error.log
--server-id=22
--expire_logs_days=10
--max_binlog_size=100M

$ my_print_defaults --defaults-file=/etc/mysql/my.cnf mysqld@mysqld20
--user=root
--pid-file=/var/run/mysqld20.pid
--socket=/var/run/mysqld20.sock
--port=3307
--basedir=/usr
--datadir=/var/lib/mysql20
--tmpdir=/tmp
--lc-messages-dir=/usr/share/mysql
--skip-external-locking
--key_buffer=16M
--max_allowed_packet=16M
--thread_stack=192K
--thread_cache_size=8
--myisam-recover=BACKUP
--query_cache_limit=1M
--query_cache_size=16M
--log_error=/var/log/mysql20/error.log
--server-id=22
--expire_logs_days=10
--max_binlog_size=100M

$ sudo systemctl start mysqld@mysqld10
Failed to start mysqld@mysqld10.service: Unit mysqld@mysqld10.service not found.

$ sudo systemctl start mysqld@mysqld20
Failed to start mysqld@mysqld20.service: Unit mysqld@mysqld20.service not found.

Installation directory (1 reply)

$
0
0
Hi,
on earlier installation of mysql 5.5 I could change the data directory during the installtion.
Today I tried to install 5.7.14. But I didn´t see how to set the data directory and the installation programm create the directory on my c: disk. I want to have the datas on d:.
How can I install the data directory on d:?

Problems with binlog (no replies)

$
0
0
Hi,

I'm using MySQL 5.7.14 x64 on a Windows Server 2012 R2. While trying to set up binary logging i faced the following problem: When ever I use the parameter binlog-do-db in the my.ini the MySQL Service will not restart. When I remove the line it works properly, even the bin-files appear. Is the binlog-do-db not longer supported in 5.7 since it works fine in 5.6?

Thx

Chris

Still let me in without password (no replies)

$
0
0
Hi Guys, I have mysql running on ubuntu. When I type mysql it let me in without password. So I though adding a password to it. So I ran

mysqladmin -u root password NEWPASSWORD

Now I can login with password only if I type

mysql -u root -p

If I type only "mysql" it still let me in. Does anybody know what's happening?

Use of Mysql Sandbox (1 reply)

$
0
0
Hello to all
I have been attempting to get just a small replication testing environment set up and I am running into problems. I have mysql-5.5.51-linux2.6-x86_64.tar.gz but when I run make_replication_sandbox mysql-5.5.51-linux2.6-x86_64.tar.gz - it runs and runs builds directories under $SANDBOX_HOME then dies:
installing and starting master
can't start server
error installing the master

(512 )

I cannot figure this out - I have used sandbox before and have not had this issue. SBDEBUG does not shed a whole of light on the issue. Any help would be most appreciated.

enable bin-log in mysql 5.6 (1 reply)

$
0
0
Hi there,

I am trying to add binary logging into mysql 5.6.3 enterprise advanced edition on a windows 2012 server.

I add the following to the my.ini file:

log-bin=E:\MySQL\MySQL_Server_5_6\binlogs\bin

When i restart mysql i get:

?MySQL: File 'E:\MySQL\MySQL_Server_5_6?inlogs?in.index' not found (Errcode: 22 - Invalid argument)
2016-09-01 09:32:51 5536 [ERROR] Aborting

I have done this a million times before on older versions of mysql in linux but first time in windows. Am i missing something? Thank you.

install path and data directory path option is not available in mysql community server 5.7 (no replies)

$
0
0
sir when i install MySQL Community Server 5.7 on my pc(window 8.1) and i choose
any setup type like developer default or server only or full or custom then install path and data path directory change option is not available.
I want install MySQL Community Server 5.7 in other directory but no directory change optin is avaiable(it is install in the default directory).
please any one help me

MySQL for Excel 2016 - text unreadable (no replies)

$
0
0
I installed MySQL for Excel (version 16) but the text is not correct. For example, I cannot even read the text on the dialog box intended for reverting data.

How to start ,stop and restart mysql server from cmd line on windows (2 replies)

$
0
0
How to start ,stop and restart mysql server from cmd line on windows

can anyone tell me please.

mysql 5.1.73 server on RHEL 6.7 client to get running (no replies)

$
0
0
I cant get mysql 5.1.73 running on RHEL 6.7 client .
content from log below and config

Log
view /var/log/mysqld.log

160909 15:11:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
160909 15:11:23 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
160909 15:11:23 InnoDB: Initializing buffer pool, size = 8.0M
160909 15:11:23 InnoDB: Completed initialization of buffer pool
160909 15:11:23 InnoDB: Started; log sequence number 0 44233
160909 15:11:23 [ERROR] Can't start server : Bind on unix socket: Address already in use
160909 15:11:23 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
160909 15:11:23 [ERROR] Aborting

160909 15:11:23 InnoDB: Starting shutdown...
160909 15:11:28 InnoDB: Shutdown completed; log sequence number 0 44233
160909 15:11:28 [Note] /usr/libexec/mysqld: Shutdown complete

160909 15:11:29 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

mysql_upgrade
root@oc8800070412 ~]# mysql_upgrade
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck' with connection arguments: '--port=3306' '--host=127.0.0.1' '--socket=/var/lib/mysql/mysql.sock'
mysqlcheck: Got error: 2003: Can't connect to MySQL server on '127.0.0.1' (111) when trying to connect
FATAL ERROR: Upgrade failed

[root@oc8800070412 ~]# rpm -qa|grep mysql
mysql-5.1.73-5.el6_7.1.x86_64
mysql-libs-5.1.73-5.el6_7.1.x86_64
mysql-server-5.1.73-5.el6_7.1.x86_64
mysql-connector-java-5.1.17-6.el6.noarch
[root@oc8800070412 ~]#


user hsqldb
all mysql folders have the owner
hsqldb:x:96:96::/var/lib/hsqldb:/sbin/nologin

no socket under /var/lib open


[root@oc8800070412 ~]# netstat -an|grep LISTEN|grep /var
unix 2 [ ACC ] STREAM LISTENING 19547 /var/run/libvirt/libvirt-sock
unix 2 [ ACC ] STREAM LISTENING 19549 /var/run/libvirt/libvirt-sock-ro
unix 2 [ ACC ] STREAM LISTENING 16630 /var/run/cups/cups.sock
unix 2 [ ACC ] STREAM LISTENING 16761 @/var/run/hald/dbus-6TqyrzBfhN
unix 2 [ ACC ] STREAM LISTENING 16716 /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 16188 /var/run/rpcbind.sock
unix 2 [ ACC ] STREAM LISTENING 16393 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 17442 /var/run/sdp
unix 2 [ ACC ] STREAM LISTENING 16754 @/var/run/hald/dbus-15kfxHi24X
[root@oc8800070412 ~]# find / -type s|grep /var/run

/var/run/rpcbind.sock
/var/run/dbus/system_bus_socket
/var/run/cups/cups.sock
/var/run/libvirt/libvirt-sock-ro
/var/run/libvirt/libvirt-sock
/var/run/sdp
/var/run/portreserve/socket


/etc/init.d/mysqld start
FAILED



my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=hsqldb
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[client]
password=hsqldb
port=3306
host=127.0.0.1
socket=/var/lib/mysql/mysql.sock

~

Failed to Connect to MySQL at 127.0.0.1:3306 with user root (no replies)

$
0
0
I've just set up mySQL workbench, on my MAC - El Capitan 10.11.2, I've set up a DB and selected forward engineer, but then get errors with the connection.

I've checked under preferences and MYSQL is running.

I've tried setting up a new connection but get the same errors.

Overtime I click onto the "configure server management" screen I get stuck in a loop, and it does't let me do anything.

Any help would be appreciated - thanks

innoDB looping? (1 reply)

$
0
0
Running version MySQL 5.1.73 on CentOS 6
The database crashed and the only way I could get it working again was to drop the current one remove ib_log files and ibdata then do a restore from backup.
But even with my buffer pool set to 13G which is 80% of available ram this message keeps repeating in mysqld.log which is 48MB in size and growing.

160917 22:18:31InnoDB: Warning: difficult to find free blocks from
InnoDB: the buffer pool (15448 search iterations)! Consider
InnoDB: increasing the buffer pool size.
InnoDB: It is also possible that in your Unix version
InnoDB: fsync is very slow, or completely frozen inside
InnoDB: the OS kernel. Then upgrading to a newer version
InnoDB: of your operating system may help. Look at the
InnoDB: number of fsyncs in diagnostic info below.
InnoDB: Pending flushes (fsync) log: 0; buffer pool: 0
InnoDB: 142 OS file reads, 0 OS file writes, 0 OS fsyncs
InnoDB: Starting InnoDB Monitor to print further
InnoDB: diagnostics to the standard output.

I can not consider increasing the buffer pool size.
I have no clue why it is doing this.
The old ibdata file was 43GB in size so I assumed that is why the system crashed twice today. I only have 16GB of ram.

And mysql shows InnoDB is supported when before I restored from back up it was missing from this list.

mysql> show engines;
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| Engine | Support | Comment | Transactions | XA | Savepoints |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| CSV | YES | CSV storage engine | NO | NO | NO |
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance | NO | NO | NO |
| InnoDB | YES | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
5 rows in set (0.00 sec)

I have no clue what to do to fix this...
Thanks

No folder at usr/var/mysql (1 reply)

$
0
0
Hello,

I have an error when starting the mysql server, The server quit without updating PID file , then it says where the PID file is, - usr/var/mysql but there is no mysql in var its an empty folder? What do I need in there?

Thanks

MySQL Utilities 1.6.4 GA install fails on Mac OS X 10.11.6 (no replies)

$
0
0
Hi All, new to MySQL, trying to get it installed & working on Mac El Capitan 10.11.6.
I've got the 5.7.15 daemon successfully installed & can connect to it via shell commands in mysql/bin.
I've got Workbench 6.3.7 successfully installed & can connect to the daemon.
I tried to install Utilities 1.6.4 and after authenticating my Mac admin user account, the installer gave a warning that my OS is incompatible with this version of Utilities, then after taking the "continue anyway" option, got an error:
"The Installation Failed", "The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."

The downloads page lists this 1.6.4 version as the one for 10.11.x, hmmm

Any thoughts?, should I report this as a bug? - thx!

How to install multiple instance of mysql server (1 reply)

$
0
0
I already installed mysql server 5.5 on my server and it is running fine in production. So now i want to install mysql-server 5.6.10 or above in a same server where mysql server 5.5 is running. I want to install separate mysql instance in separate folder and all other option. Also i want install mysql fabric over mysql server 5.6. Please give me step by step process how to do this installation.

MySQL Install Kernel parameter (1 reply)

$
0
0
Hi,

I wander that MySQL Install Kernel parameter.
When I install mysql 5.7. I have to configure my.cnf.

What is the most important variables in mysql while I instll mysql.

Pleae tell me the kernel parameter.

Viable project funding & investment financing . (no replies)

$
0
0
For Business Owner/Project facilitator

We are facilitator to an Investor & projects financier/lender who provide funding for viable projects/Business in form of Debt finance at an interest rate of 2.5%, 3% 4.7% return on investment/loans with 2 years (24Months Moratorium) before the commencement of loan repayment.
We are most interested in viable projects such as: Energy renewable projects, mining projects, Medical and Health care projects, Real estate projects, start-up projects, agricultural projects and business expansions in general.
We are financing private viable Projects up to the tune of 1 Billion Dollars ($1 Billion USD) on Roll & Extension R&E. Borrowers seeking funding for viable projects are to forward a comprehensive business plans to us for a review
For details contact us via our
Jeffery Bradwell
Accredited Mandate
email:jefferybradwell@yahoo.com
Telephone: +37257587016
Viewing all 7172 articles
Browse latest View live




Latest Images