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

"unknown error" running mysql_upgrade from 5.6 to 5.7 (no replies)

$
0
0
Hi,

I'm running Debian 8.
I am running binary Linux Generic MySQL.

I usually run upgrades by uncompressing the new version to /usr/local/xxx, then changing a symlink to /usr/local/mysql.

Done for 5.7, it starts.

Server version: 5.7.9-log MySQL Community Server (GPL)

But when I run mysql_upgrade...

# /usr/local/mysql-5.7.9-linux-glibc2.5-x86_64/bin/mysql_upgrade
Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
mysql_upgrade: [ERROR] 1105: Unknown error
#

And that's it :)
Nothing in the logs, nothing with --verbose...
It just does not work.

Does anyone here have an idea what I should run to investigate this issue?


Thank you !

Missing Database & User Previleges (no replies)

$
0
0
Hi All:

I am new to MySQL and PHP. I use windows 7 and installed XAMPP.

I created a new database called shp in C:\xampp\mysql\bin>mysql a few days back. Now I don't find it. When I go to "show databases;", I see just 2 databases - information_schema and test. Also when I try to create a new database called "shp" ( with CREATE DATABASE shp;) I get a error message - access denied for user ''@'localhost' to database shp.

Can you please help me here?

Rgds
Prash

Excel 2016 & Python 3.5 (no replies)

$
0
0
For some reason when attempting to install MySQL 5.7, I cannot get these dependencies to pass on check:
1) MySQL for Excel 1.3.5 (Office 2010 or higher) with Office 2016 installed
2) Connector/Python (3.4) 2.1.3 (Python 3.4 is not installed) utilizing both Python 3.5 and 2.7.10 (can't find 3.4 install)

Anyone have an idea how to resolve this? Working on Windows 10 currently.

Thanks,

which mysql version to download for Red Hat enterprise linux workstation 6.6? (1 reply)

$
0
0
I am new and know nothing about installing mysql. I would like to download and install mysql on my Red Hat enterprise linux workstation 6.6. But there are so many different version to choose, and I don't know which one is the correct. Is it “Red Hat Enterprise Linus 6/ Oracle Linux 6 (x86, 32-bit), RPM package MySQL Server”?

What is the differences between rpm install and source build? (1 reply)

$
0
0
Hi,
I am trying to install myspl 5.7 on centos.
I installed only source before, but I want to know the 1.differences between source install and rpm package install.
2. Is there any different performances between?
3. In what kind of case should I install the source?

I just wanted to make sure this since the performance of source installing was good enough before, but I feel between rpm installing and source installing seems like similar recently.


I would appreciate if you can answer for me those three questions above.
Thank you.

dpkg: error processing mysql-server-5.5 (--configure):396 (no replies)

$
0
0
MYSQL 5.5 quit working. I went to use it after 7 months and I got:

dpkg: error processing mysql-server-5.5 (--configure):396

Running a NIX based on Debian called Crunchbang (now replaced by Bunsen).

I searched on the above error message and found a post. I am leaving my experience hear for anyone who may also have this experience, as the other post helped me to fix my installation and get it back up and running.

>sudo apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5

>sudo apt-get install mysql-server

The above two commands from the previous post is what proved helpful.

When I ran the first command, sudo apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5, I saw this in the output:
>apt-get autoremove

I did not run this at first. I then ran the second command, sudo apt-get install mysql-server. This failed.

So I re-ran the first command, sudo apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5, then I ran apt-get autoremove.

I also noticed in the output about something in the director, /etc/mysql. So I removed mysql from /etc and reran sudo apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5. I also re-ran apt-get autoremove.

Now I ran sudo apt-get install mysql-server and it installed and started mysql correctly. I hope this helps someone.

Cannot connect to DB Server? (no replies)

$
0
0
Have installed MySQL on iMac and runs fine. Installed MySQL Workbench - all setup fine unill tried to connect to local host serve via the default instance or one I create? Have not changed the port (3306) and tried with and without root password? Any help appreciated.

MySQL 5.7 - datadir change (no replies)

$
0
0
Hello,

I'm trying to change the location of datadir to alternate location, but I keep getting an error.

I'm running mysql-community-server-5.7.10-1.el7.x86_64.rpm on RedHat 7.0

I've done following:

- copied data
cp -rap /var/lib/mysql /data/mysql
chown mysql.mysql /data/mysql

- updated my.cnf from
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

- to
datadir=/data/mysql
socket=/data/mysql/mysql.sock

-restarted service
service mysqld start

and getting following error:
Redirecting to /bin/systemctl start mysqld.service
Job for mysqld.service failed. See 'systemctl status mysqld.service' and 'journalctl -xn' for details.

Log file doesn't get updated. When I revert everything, all is good.

I'm all lost. I need to move databases to different storage.

Please help! Thanks in advance.

Moving DB from 2k3 server to 2K8 R2 causing remote connectivity issues (no replies)

$
0
0
This is my first post and attempt to tackle something with SQL, my apologies if something i mention makes no sense. But as we upgraded servers the task to migrate SQL server is at a stand still, from 2003 to 2008 R2. I read that to move the database a dump needed to be made and then imported to avoid issues. Well another tech here copied directory over to the new server.
Now this is what is going on or needs to happen from research:

Another host record (same permissions) needs to be added for connecting from multiple remote hosts .
This is the “%” host record (user “root”) which saves adding individual remote hosts records.
There should be two host records in mysql (database) user (table) meeting these requirements.
Both records have same permissions set.

But where in the heck do i enter these records, i am thinking of something like active directory and adding member of permissions or is it syntax? Im a novice on this so bear with me.

Thanks in advance

mysql 5.7 install my.cnf file (no replies)

$
0
0
Hi,

MySQL 5.7 is too dificult to install than mysql 5.6 and mysql 5.5.
where is a my.cnf for sample file in mysql 5.7?
How can I know which options I have to specify for mysql 5.7 ?
mysql options of mysql 5.6 and mysql 5.5 are different from mysql 5.7
It is so hard to install and change variables
what options are basic for mysql 5.7?

help me how to intall easily mysql 5.7 using my.cnf file.

Installation fails on Snow Leopard (no replies)

$
0
0
Hi,
I have a Mac which runs Snow Leopard (10.6).

So I downloaded the mysql-connector from here: https://dev.mysql.com/downloads/connector/odbc/ as a .dmg image and tried to install it.

Unfortunately the installer fails.

Does anybody knows what to do and how to install it on the system?

Unfortunately the installer does not tell me what the problem is - it just says that the install fails.

Thank you for any info.

MySQL 5.6 installation issue / Cent OS 7 64 bit (no replies)

$
0
0
Kind greetings!

Using Linux OS CentOS 7, 64 bit, followed the published instructions http://dev.mysql.com/doc/refman/5.6/en/linux-installation-yum-repo.html to stand up MySQL 5.6 community server for a test project and all attempts to install the product has failed, and I need some assistance on what I might be doing wrong

We kindly need assistance on what I might be doing wrong. I followed the ff instructions on these 2 paths I am unable to get MySQL server to startup successfully.

Something is now working right. Also in the past several months back we have tested a much earlier version of MySQL on Linux 5.6.1 32 bit, several months ago on CentOS 5 and that worked fine, without any issues

Any help will be appreciated

omon
omon.edeki@nowellgroup.com

In Place YUM Upgrade Changing Next Auto_Increment Value (2 replies)

$
0
0
I've been testing an in-place upgrade using the YUM repository and I've noticed that the next auto_increment value gets reset. For example, my current MySQL version is 5.5.40. This was installed using the YUM repository. The next auto_increment value for a particular table is 1000. Upon browsing the data of the table, the last record in the table has a value of 750 for the auto_increment field. After running yum update-to and upgrading to 5.6.27, the next auto_increment value changes from 1000 to 751. I've also noticed this happens if I upgrade within a release series. For example, from 5.6.15 to 5.6.17.

Is there a way to prevent this from happening? I am unfamiliar with the application that utilizes this database and am unsure whether the resetting of the next auto_increment value will cause any issues.

Installation failure (1 reply)

$
0
0
I hope this is the right place for this question

I can't get past installing the server from MySQL

I have tried every thing from older versions to the latest version

I'm running Windows XP 32bit...keep getting the message that the installer (1.4) is only for Vista and later...it states that it's use is for all Windows platforms, so I downloaded it to use

Can anybody direct me ?

Thanks

Total is. To be Software ready. (no replies)

$
0
0
To be software ready. (Start) Mechanic. Do blue. Input green at red.

Installment (Blue)
- MySQL 5.7, MySQL WorkBench (help said this)

Parameters (Red)
- Do you know where you got to input.

Configuration (Green)
- Do you know the input should be like.

I want to create a db. And a Window (java ?) to input/output
data in the db. (just on my own pc).

Help me make. The total is. (End) After this i can do the "sql" and "java".

PC ready to battle (no replies)

$
0
0
PC ready to battle

You install blocks of software. Not more then i need. To have the db
running. And build a GUI to insert/retrieve data to/from db.

- Give me the list of software. To build above.

The software provides windows to configurate.

- Could you name them all.

This db Project. Is only gone run on my personal computer.

I will systemyze the help i get. And return it.

Installing MySql (community web) (1 reply)

$
0
0
Hi, I have just tried installing the above and the installer failed at the first dialogue because Visual Studio 2010, 12,13, 15 and Connector/Python are not installed. I don't need either of these. I do however have Visual Studio 2010 Express already installed.

How can I install this without installing the above modules, I am stucj at the check requirements dialogue.

Thanks :)

Missing Password for 1st time installation of MySql (5 replies)

$
0
0
I downloaded for the 1st time MySql 5.7.9 for MAC OS X El Capitan. This Mac has never had an installation of any database so it is a fresh install. During the installation a password is given and expected to be copied. I wrote it down and moved on with the installation. Now I am suppose to open the application for the first time and start the database. It asked for that password. I have tried every version I can come up with from what I wrote down (I know I have the right letters and numbers and characters but the upper and lower case or zero versus letter O could be the problem) and cannot get it to work.

What should/can I do?

Installation issues (no replies)

$
0
0
I'm trying to work with MySQL workbench for a javaEE project. First I've installed MySQL server 5.6.20 and then MySQL workbench and finally connector j. After opening workbench I've made a connection with default setting, this is Host:127.0.0.1;Port:3306;User:root. When I tested connection this massage showed:

failed to connect mysql at 127.0.0.1:3306 with user root Blockquote

can't connect to mysql server on 127.0.0.1(10061)

Then I opened connection and from schemas tried to star server, but it didn't started. After that I tried to start MySQL from windows services, but there I didn't find any MySQL. Then I tried to install MySQL as windows service using this tutorial here , but whenever I enter below command in console it shows install/remove of the service denied!

C:> "C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld" --install-manual

Can any one help me about this problem?
I'm actually not realizing what to do now at all.

MySQLserver reconfigution notice. Missing data folder. (6 replies)

$
0
0
am running Windows 7, 64 bit.

I am trying to install MySQL server. I have used the MySQL Installation Wizard to install and everything proceeds until i hit a post server configuration screen. I am told the server configuration succeeded but the screen i am presented with asks for quick action as follows:

MySQL server 5.7.10 x64 Reconfigure

Samples and Examples 5.7.10 x64 Reconfigure

I execute the reconfiguration but just loop round to the same screen asking for quick action.

I can see the MySQL server command line if my files. I tried running:

"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld"

from command prompt and got a lot of text the beginning of which was:

C:\Program Files>"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld"

mysqld: Can't change dir to 'C:\Program Files\MySQL\MySQL Server 5.7\data\' (Err

code: 2 - No such file or directory)

Not sure i should print the whole text.

Any help? I was expecting the installation to complete with a user interface opening (maybe akin to SQL server management studio. Something with tables in etc). Instead, just the quick action reconfigure screen.

Thanks,
Viewing all 7171 articles
Browse latest View live


Latest Images