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

Chrooting MySQL 5.5 under Debian Jessie (no replies)

$
0
0
I am trying to install mysql 5.5 on debian jessie chrooted.

In /etc/mysql/my.cnf the key "chroot" references to the manual.
I can't find this manual (Neither on mysql.com when i search for "chroot", nor on the system).

Is there any Best-Practice for chrooting the installation without loosing the upgradepath of Debian? (I think a "dpkg -i ./mysql-update.deb" in the jail should be ok // building from source isn't)

Please help.

Can't start MySQL Server (no replies)

$
0
0
Hi

I downloaded MySQL Community Edition mysql-5.6.26-osx10.9-x86-64 to my laptop but when I click Start MySQL Server nothing happens. When I downloaded MySQL I was using Mac OSX 10.6.8 and my computer was crashing when I clicked on the MySQL icon in Systems Preferences. I have since upgraded to Mac OSX 10.5.5 and my computer isn't crashing but I still can't get MySQL to start.

Andrew

Root Reset Password (1 reply)

$
0
0
Hi all,

I just searched in all internet, but any solutions help-me.

I forgot my root password. Well, i founded in a article in mysql to reset password unsing this:

mysqld_nt --defaults-file="C:\\Arquivos de Programas\\MySQL\\MySQL Server 5.6\\my-default.ini" --init-file=C:\\temp\\mysql-init.txt

But in my instalations not have ANY mysqld_nt. Then I found in another article to use only mysqld.

Well, this froze my ms-dos window. And the mysql server dont start anymore. Well, Then I desinstalled the mysql server, and installed again.. I think "Now i will can use mysql again"... ONLY NOT... in the instalation, the mysql server need the CURRENT PASSWORD, but i dont know, i FORGOT the password...

I will need to format my computer to erase the current password and install mysql again ???

Plz, i lose all my day trying to do this, reset my root password to can use my mysql agains and nothing.

If someone know how, same a "underground" idea, and do not can tell me, i can open my computer, but plz, someone help me....


Att,
Moacir Jr.

(Un)Installing MySQL for Visual Studio problems (no replies)

$
0
0
I am trying to install the latest version of MySQL for Visual Studio (1.2.4), but I am failing in every step.


1. Install of the application fails with no real error and does a rollback. Application is not installed after. Using logging I can see the following error:

System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Program Files (x86)\MySQL\MySQL for Visual Studio 1.0.2\Assemblies\v2.0\MySql.Data.dll' or one of its dependencies. The system cannot find the file specified.


2. I still had version 1.0.2 installed so I tried removing this. Same problem, it does a rollback.


3. I tried to uninstall via the MySQL Installer software (latest version). This also fails, with no error messages except "Failed".


4. I tried upgrading to 1.2.4 via MySQL Installer: also failed.


5. I tried to uninstall v1.0.2 with some other software (Revo uninstaller etc). Now my system can no longer see that it has been installed, but the installer for 1.2.4 still fails. Further, the MySQL Installer still thinks it is installed and does not allow me to Install it (because it already is), and Update (to 1.2.4) or Remove still fail.


I am at a loss. How can I completely remove MySQL so I can simply start over? My system is unusable now as I need MySQL for Visual Studio 2015.

Please help!

10 minutes delay in executing the first query from some ips (no replies)

$
0
0
I have installed mysql server 5.6.25 in debian 7 server.
When I connect from some external ips, I have 10 minutes delay in executing the first query. Then I can run any query and have no extra delay. Only it applies to the first query and from some ips.
I try adding skip-host-cache and skip-name-resolve to my.cnf, but not fix.
Reverse-Dns problem could be?
I could modify the host and resolve.cnf file from server.
Any suggestions?
Thanks in advance.

These are log and my.cnf file

150911 9:41:20 165 Connect dx_@85.XX.XX.XX on database_name
165 Query /* mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} ) */SHOW VARIABLES WHERE Variable_name ='language' OR Variable_name = 'net_write_timeout' OR Variable_name = 'interactive_timeout' OR Variable_name = 'wait_timeout' OR Variable_name = 'character_set_client' OR Variable_name = 'character_set_connection' OR Variable_name = 'character_set' OR Variable_name = 'character_set_server' OR Variable_name = 'tx_isolation' OR Variable_name = 'transaction_isolation' OR Variable_name = 'character_set_results' OR Variable_name = 'timezone' OR Variable_name = 'time_zone' OR Variable_name = 'system_time_zone' OR Variable_name = 'lower_case_table_names' OR Variable_name = 'max_allowed_packet' OR Variable_name = 'net_buffer_length' OR Variable_name = 'sql_mode' OR Variable_name = 'query_cache_type' OR Variable_name = 'query_cache_size' OR Variable_name = 'init_connect'
165 Query SHOW COLLATION
165 Query SET NAMES latin1
165 Query SET character_set_results = NULL
165 Query SET autocommit=1
165 Query SELECT curdate() AS fecha, curtime() AS hora

150911 9:50:32 165 Query SELECT * FROM lval WHERE tipo = 'VERSION'

MY.CNF

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

[mysqld_safe]
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
nice = 0

[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
explicit_defaults_for_timestamp

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address = 127.0.0.1

log-error = /var/log/mysql/error.log

# Recommended in standard MySQL setup
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

#Cambios mios
[mysqld]
skip-host-cache
skip-name-resolve

net_read_timeout=600
net_write_timeout=900

key_buffer_size = 512M
max_allowed_packet = 1024M
thread_stack = 256K
thread_cache_size = 30

max_connections = 300

wait_timeout=86400
interactive_timeout=86400

max_connect_errors = 1000000

query_cache_limit = 128M
query_cache_size = 1024M

general_log_file = /var/log/mysql/mysql.log
general_log = 1
log_warnings = 1
long_query_time = 5
#log-queries-not-using-indexes
expire_logs_days = 10
max_binlog_size = 100M

[mysqldump]
quick
quote-names
max_allowed_packet = 1024M


# * IMPORTANT: Additional settings that can override those from this file!
# The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/

MySQL Server Won't Start (no replies)

$
0
0
For some reason, MySQL won't start all of a sudden.

I am running XAMPP 5.6.3-0 on a MacBook Pro MacOS 10.9.5

Today when I start "Application Manager" and "Start All" servers, the lights for Apache and ProFTP go green. The light for MySQL Database changes to yellow but after a minute or so, changes back to red.

I have restarted the computer but the problem persists.

The system has been running fine for two years and, to the best of my knowledge, nothing changed yesterday in the XAMPP installation.

I am not sure what I should be looking for as a potential problem.

Does anyone have a suggestion?

Thanks

MySQL Yum repository installation and file not found error (no replies)

$
0
0
I'm installing MySQL server on Linux server following the instructions on this page. I used this version of yum : mysql-community-release-el6-5.noarch.rpm and the server OS version is 2.6.32-504.16.2.el6.x86_64

I used this command to start installing Mysql server

sudo yum install mysql-community-server
the installation did not complete I got the following errors

> Finished Dependency Resolution
Error: Package: 2:postfix-2.6.6-6.el6_5.x86_64 (@anaconda-CentOS-201410241409.x8 6_64/6.6)
Requires: libmysqlclient.so.16()(64bit)
Removing: mysql-libs-5.1.73-3.el6_5.x86_64 (@anaconda-CentOS-20141024 1409.x86_64/6.6)
libmysqlclient.so.16()(64bit)
Obsoleted By: mysql-community-libs-5.6.26-2.el7.x86_64 (mysql56-commu nity)
Not found
Updated By: mysql-libs-5.1.73-5.el6_6.x86_64 (base)
libmysqlclient.so.16()(64bit)
Error: Package: mysql-community-server-5.6.26-2.el7.x86_64 (mysql56-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-server-5.6.26-2.el7.x86_64 (mysql56-community)
Requires: systemd
Error: Package: 2:postfix-2.6.6-6.el6_5.x86_64 (@anaconda-CentOS-201410241409.x8 6_64/6.6)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Removing: mysql-libs-5.1.73-3.el6_5.x86_64 (@anaconda-CentOS-20141024 1409.x86_64/6.6)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Obsoleted By: mysql-community-libs-5.6.26-2.el7.x86_64 (mysql56-commu nity)
Not found
Updated By: mysql-libs-5.1.73-5.el6_6.x86_64 (base)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
I tried using another yum version "mysql-community-release-el7-5.noarch.rpm" but the same error happened.

Also I checked the subrepositories in the MySQL Yum repository, to see which of them are enabled or disabled and mysql56-community is already enabled.

> mysql-connectors-community MySQL Connectors Community
> 14 mysql-tools-community MySQL Tools Community
> 21 mysql56-community MySQL 5.6 Community Server
> 169


How to solve this issue and install Mysql server ?

Thanks,

Error 1044 : Access denied for user ''@' localhost' to database (1 reply)

$
0
0
i installed mysql on mac and i also set up the path by this command :
echo 'export PATH=/usr/local/mysql/bin:$PATH' >> ~/.bash_profile .
when i type mysql in terminal mysqpl server opens up , when i try to create new database using the command : create newdatabase "somename"
, i get the error as "Error 1044 <42000>: Access denied for user ''@' localhost' to database" ,pls help i am new to mac

Rebuild Data from InnoDB? (1 reply)

$
0
0
Hi folks.

Updated to El Capitan and forgot to export my data sets. Any way of resurrecting from *.from and *.ibd files? I have the ibdata in there, but it doesn't want to seem to take.

Any advice appreciated.

Cheers

'setup_objects' has the wrong structure (no replies)

$
0
0
I have very recently installed MySql 5.6 including the workbench and I succeeded in creating tables via the modeler etc. I also managed to make small JEE web project that included one of the tables. It worked.
Now when I start MySQL it gives all these messages

2015-10-06 20:51:49 3704 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
2015-10-06 20:51:49 3704 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
2015-10-06 20:51:49 3704 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
2015-10-06 20:51:49 3704 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
....
and many more like it.

I did previously have problems that was solved by deleting the ib_log files.

But now I get these strange errors. They seem to have come when I started my computer up again after having succeeded in reading out some data from the base to the web.
This does not seem to be a very robust base :)
any help is really appreciated as I cannot get anywhere with the project before this is solved.

MySQL Instance Bind IP vs Port (no replies)

$
0
0
I have inherited a number of MySQL installations which are configured with bound IP addresses to allow multiple instances to exist on an individual Linux server. I would have expected to use different ports rather than IPs to achieve the same result.

Is there a benefit to using the bind-address method of installing multiple MySQL instances on a single server, and is this ever a best practice? Would the preferred method be to assign unique port numbers to each instance, and allow them all to respond to the default IP address for the server? Are there any configuration or use-case considerations that might favor the multiple IP address configuration?

Thank you for any information you can provide.

Multiple instances of MySQL on a single machine (no replies)

$
0
0
Hi,

How many multiple instances of MySQL can be create on a single machine. I want to create 25 instances in a single machine. There will be 5 schema in each instance.

I would like to configure MySQL Port No from 3306 to 3330.

Waiting for reply whether it can be possible or not.

PLEASE HELP (1 reply)

$
0
0
I am not able to run MySQL after installing it properly. After I run it says
Enter your password. I enter correct password but it says :
ERROR 2004 (HY000) : Can't create TCP/IP socket (10107).
For any further queries please email to sarvottam.kumar.99.sk@gmail.com.
Thanks a lot.

Install - Samples and Examples, no server found (1 reply)

$
0
0
I am installing mysql56 on Windows Visa 64bit for use with the Abyss server.

I am going through the install (windows installer used) and I have gotten to the "Samples and Examples" step. I have been told there is no server and I need to select one from the list on the Contact Server page.

The server list is empty.

I did a custom install to skip the installation of such things as Workbench, MySQL Notifier, and MySQL for Excel, etc. I just want a simple server to use with web php server site applications (everyone calls them scripts but I think of them as what they really are – applications)


The only default option I changed was to not start the mysql windows server at startup.

I won't be using it all the time (I'd guess I'll use it perhaps 10% of all of the use on this particular computer) and I don't want it up and using resources when I don't need it. I will, for now, only be using it to support wordpress so that I can work on a blog locally. WP is a very bloated attempt to be everything for everyone and I want to see about speeding it up and will be creating custom themes for speed and simplicity.

*** Side issue - does anyone know of another blog package which simply provides blog functions with good anti-spam features or plug-ins that can fight spam? If so, please point me at it. Thanks!

When I encountered this situation about selecting a server, I checked, through, Task Manager and found a service named MYSQL56 is running.

What do I do to get past this issue of selecting a server when there are no servers shown in the server list on the Connect to Server step?

Bob

Bug in init.d service script (1 reply)

$
0
0
I have found a bug in the init.d service script. The line that fetches the socket location results in a bad path if the datadir is moved and the socket is not also moved.

Buggy line:
get_mysql_option mysqld socket "$datadir/mysql.sock"

Fixed line:
get_mysql_option mysqld socket "/var/lib/mysql/mysql.sock"

'SSL error' when satrting thru systemd/systemctl (no replies)

$
0
0
1) Without systemctl

# su - mysql -c "/usr/bin/mysqld_safe"
151013 00:10:58 mysqld_safe Logging to '/var/log/mysqld.log'.
151013 00:10:58 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

mysql> show global variables like '%ssl%';
+---------------+------------------------+
| Variable_name | Value |
+---------------+------------------------+
| have_openssl | YES |
| have_ssl | YES |
| ssl_ca | ca.pem |
| ssl_capath | /etc/my/ |
| ssl_cert | /etc/my/cert.pem |
| ssl_cipher | |
| ssl_crl | |
| ssl_crlpath | |
| ssl_key | /etc/my/server-key.pem |
+---------------+------------------------+

2) starting thru systemctl

# systemctl start mysqld
# grep SSL /var/log/mysqld.log
SSL error: Unable to get certificate from '/etc/my/cert.pem'
2015-10-13 00:13:51 22275 [Warning] Failed to setup SSL
2015-10-13 00:13:51 22275 [Warning] SSL error: Unable to get certificate

mysql> show global variables like '%ssl%';
+---------------+------------------------+
| Variable_name | Value |
+---------------+------------------------+
| have_openssl | DISABLED |
| have_ssl | DISABLED |
| ssl_ca | ca.pem |
| ssl_capath | /etc/my/ |
| ssl_cert | /etc/my/cert.pem |
| ssl_cipher | |
| ssl_crl | |
| ssl_crlpath | |
| ssl_key | /etc/my/server-key.pem |
+---------------+------------------------+


Versions :
# more /etc/centos-release
CentOS Linux release 7.1.1503 (Core)
mysql> show global variables like '%version%'
-> ;
+-------------------------+------------------------------+
| Variable_name | Value |
+-------------------------+------------------------------+
| innodb_version | 5.6.27 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.6.27 |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+------------------------------+


Thx for your help !!!!!

Installing Community Edition on Windows 10 (2 replies)

$
0
0
My students are trying to install MySQL Community Edition on Windows 10 operating system and are having difficulty. Is there something that we need to know prior to installing on Windows 10?

Installation fails (1 reply)

$
0
0
I tried to re-install mySQL and other software although I guess I need a registry cleaner at this point because my software trials are expired. Nevertheless a lot of components are failing.

MYSQL Version 5.6.26
Windows Server 2007 SP2 (old and rare)

I also use SQL Yog 12.14

Can't connect to MySQL server on 'XXX.XXX.XXX.XXX' (61) by Internet (no replies)

$
0
0
Hello,

i have problem with connecting mysql server by internet.
i have no issue to connecting local system or LAN.
but when i am connecting through internet by router ip than i am facing problem.

i am using mac os x with server.
i have done port forwarding in my server ip with tcp/udp 3306 in router.
i am also using static ip on my server.

thanks in advance

install of MySQL-server-community-5.1.73-1.rhel5.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_64 (no replies)

$
0
0
How do I overcome this conflict? I am attempting to install on RHEL 6.5 using rpm -i MySQL-server-community-5.1.73-1.rhel5.x86_64.rpm

also tried using "yum install MySQL*rpm" with MySQL-server..., MySQL-client..., and MySQL-shared-compat... rpm

Files in rpm with conflict are cited with path "/usr/share/MySQL/charsets/" and "/usr/share/MySQL/[Country]/"



Trying to recreate an environment from scratch.
Viewing all 7169 articles
Browse latest View live




Latest Images