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

I get this error when install My Sql, " Error Nr. 1045. Access denied for user'root'@'localhost' (no replies)


MYD' not found (Errcode: 22) (no replies)

$
0
0
Hi Team,

when i tried to purge mysql data, its throwing this error. can you explain why this error occurs?


ERROR CODE:

Trying to read old data in mysql and throws this error..

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2843)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1523)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1614)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2806)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2712)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1881)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1726)
at com.speed_trap.util.database.JDCPreparedStatement.executeQuery(JDCPreparedStatement.java:282)
at com.speed_trap.patterns.exec.DbRunnerSmallMedium.runQueries(DbRunnerSmallMedium.java:281)
at com.speed_trap.patterns.exec.DbRunnerSmallMedium.run(DbRunnerSmallMedium.java:174)

MySQL 5.6.25 "noinstall Zip" - Release runtimes only? (no replies)

$
0
0
Dear community,

we are using MySQL (community server edition) in our application as database server. To install it, we use the "noinstall zip" for Windows.

However, these zips (32 and 64bit ones I speak about) do not only contain the plain runtimes, but also everything, which is required for running MySQL in Debug mode, too.

Our plan is, to strip down the zips, so only the plain release runtimes are there, reducing the size drastically.

What we did so far:
1. We removed all *.pdb files
2. We removed the folders
2.1 lib/debug
2.2 mysql-test
2.3 scripts
2.4 sql-bench
3. We removed mysql-debug.exe

Questions
1. What else can / should be removed?
2. OR could we use the %ProgramFiles%/MySQL Server 5.6 folder from an msi installation?

We have seen, that it is planned to deliver the debug files apart from the plain runtimes with 5.7, so in the future this will become much easier.

Which mysql version being installed (no replies)

$
0
0
On a ubuntu 12.04.5 LTS machine at work we had MYSQL installed. To find out the MySQL version that hasd been installed I ran "mysql --version" and it gave

mysql Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (x86_64) using readline 6.2

However I also ran "dpkg --l|grep mysql" it gave a list of mysql package installations that include these

ii mysql-common 5.5.44-0ubuntu0.12.04.1 MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.44-0ubuntu0.12.04.1 MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.5 5.5.29-0ubuntu0.12.04.1 MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.29-0ubuntu0.12.04.1 MySQL database server binaries

Just wonder which version is being used, 5.5.44 or 5.5.29?

Hope you can help. Thanks.

Upgrade Mysql 5.5.29 to 5.5.44 (no replies)

$
0
0
Hi,

I want to upgrade MySQL 5.5.29 on ubuntu 12.04 server to MySQL 5.5.44. What's the steps for this. The MySQL 5.5 documentaion on upgrade seems to refer upgrade between series, whereas here I am doing upgrade to a later release within a series.

I have never done an MySQL upgrade before. My guess the steps are:

1) backup db's
2) Stop MYSQL server
2) Install new MySQL release over the current one
4) Start MySQL server
3) Do I need to run mysql_upgrade program?

Now in case I want to backout, just wonder how I can do that. With the above steps the old version was owverwriten.

Hope you can give me some ideas. Thanks.

mysql-community 5.6.26-2.el5 install changes default config variable (no replies)

$
0
0
Hi,

I did a yum upgrade yesterday (July 30, 2015) of MySQL-Community server from the MySQL repo. This was applied on three identical platforms. Two of the platforms behave normally but one gave use major issues for a while.

The "broken" install somehow turned the MySQL variable "explicit_defaults_for_timestamp" to ON while the other two machines stayed with the default (I think) value of OFF.

This was eventually tracked down and the variable is now in the one machine's config file and is set to OFF.

My question is: is this sort of config flip-flop on install "normal"? I've used MySQL for over a decade and this is the first case of this I have run across.

mysql.x86_64 5.6.26-2.el5 installed
mysql-community-client.x86_64 5.6.26-2.el5 installed
mysql-community-common.x86_64 5.6.26-2.el5 installed
mysql-community-devel.i386 5.6.26-2.el5 installed
mysql-community-devel.x86_64 5.6.26-2.el5 installed
mysql-community-libs.i386 5.6.26-2.el5 installed
mysql-community-libs.x86_64 5.6.26-2.el5 installed
mysql-community-libs-compat.x86_64 5.6.26-2.el5 installed
mysql-community-release.noarch el5-5 installed
mysql-community-server.x86_64 5.6.26-2.el5 installed

error messages (no replies)

$
0
0
I am new to this technology so I am lost. I installed Joomla which triggered the install of MySQL db. But something when wrong and I received the error below. This is all on web.com I can now access the phpmyadmin through the web.com portal but I was not able to find the directory were phpmyadmin is stored to change the config.inc.php


$cfg['Servers'][$i]['designer_coords']..not OK [Documentation]Designer: Disabled


$cfg['Servers'][$i]['tracking'] ... not OK [ Documentation] Tracking: Disabled

So if someone can please provide me with how to manage a MySQL DB using phpMyAdmin or at this point how to fix the error so I can move forward.

thanks
Mark

Creating .sql file with no running MySQL server (1 reply)

$
0
0
Hi,

Our server crashed and I am not planning to replace it. We shut down. We do have the directories and data from our MySQL install .

Is there a way to dump the directories or the .frm .myi and .myd files into a .sql file using a Mac or Windows based utility?

I've had no luck finding this type of utility.

Thanks for any help you can offer.

Frank

Reconfigure does not work, server can be stopped (1 reply)

$
0
0
Mysql throws an error an boot. When I try to reconfigure it, the installer cannot stop the server. I do not know whether the server is running at all. This is a win 7 machine 64 bit. I have full rights on the machine.

I would like to get it working again.

Regards Bernhard

Mac Homebrew Install Issues (no replies)

$
0
0
Hi folks.

I installed mysql using homebrew and it created a system that was confused by the current .dmg install of mysql. So I tried deleting the latter but that didn't change anything. Deleted all known copies of mysql on my system, and reinstalled using homebrew. That didn't change anything.

I can't create a new database.

mysql> create database `abc`;
ERROR 1006 (HY000): Can't create database 'abc' (errno: 2)

Upon looking for the data folder, this is what I get:

| datadir | /usr/local/mysql/data/

However, there is no /usr/local/mysql directory at all.

How can I completely flush my system so I can try fresh? I have a backup, so I can move forward.

Thanks

How can install different 5.6 mysql version on same linux (no replies)

$
0
0
How to install different version of mysql on the same linux server?

for example
/u01/app/mysql_5.6.10
/u01/app/mysql_5.6.26

I try to use rpm. however it said it's not relocatable with using
prefix or relocate option~~
help!!!!

configuration issue (no replies)

$
0
0
Hi,

I am using birt and mysql to fetch reports but i am unable to fetch data that is more than 17 mb .in order to do so what are the changes required to fetch more than 30 mb data in my.cnf file

Regards
Arpit

accidently installed another version of mysql over existing server (no replies)

$
0
0
Hi:

I am not a SQL guru by any means. I run a wordpress website on my PC at home using the XAMPP package and it uses MySQL to drive the wordpress site.

Last week I attempted to install a program called Media Portal which is like windows media center to watch/record TV. What I did not realize at the time is that Media Portal requires MySQL and the package automatically installed another instance of MySQL on my computer. It did not overwrite the MySQL data files or directory structure installed with the wordpress site so I essentially have all my original MySQL files and a new set of MySQL files. I am looking for some advice.

My first thought is to dump my database in the new database, uninstall the new version of MySQL and somehow just re-start the existing MySQL and import the dump file. For clarification, I DO NOT have dump files of the database data from the old MySQL, I only have .IDB and .FRM files. What I can't figure out is how to get the old MySQL to start up again. Can this be done without uninstalling the new MySQL (stop new MySQL service, then somehow register service for old MySQL and start it)?

Another option I was considering was to keep the new MySQL server instance and somehow import the database from the old MySQL .IDB and .FRM files. I have done extensive searching on this and it looks like this is extremely complicated and might be beyond my capabilities.

A last resort is to just ditch the entire wordpress site and reinstall it and rebuilid my website. It is not a big website and probably will take 30-40 hours. So if recovering my database tables will take anywhere near that amount of time, I would probably just opt to rebuild the website.

Any help or recommendations would be appreciated!

-Ryan

Where does extracted .deb files are stored before installation? (no replies)

$
0
0
Hello,
I downloaded "Ubuntu Linux 14.04 (x86, 64-bit), DEB Bundle
MySQL Server" from this link (http://dev.mysql.com/downloads/mysql/). And I didn't noticed that I have very low diskspace. Later I used "sudo dpkg -i *.deb" to install MySQL. It started unpacking all deb's but didn't showed the path where it has been unpacking. In the middle of unpacking the disk was completely used and now it is 0 bytes.

To free the space on disk I thought of moving my VirtualBox files to another drive. To move the files I have to release them from the VBox which requires some kind of write operation. Since there is no space even I can't move my Vir Machine files. Now the only remaining thing is where can I find those unpacked files, so that I can delete them manually and carry on. And there are no other files like downloads to delete.

Please help me.
Thank you.

Config problems MySQLdb - Python Connector (no replies)

$
0
0
I have recently installed MySQL, Python 2.7 and the MySQLdb (connector MySQL - python). I have Visual studio 2015 installed.

Can anyone please tell me why I cannot get a python script to run successfully? I get the error 'error loading MySQLdb module' as feedback.

Is it true that I need a C compiler and that Visual Studio 2015 would not do the job, but that I need VS 2008 instead?

Many thanks,
Leon

I don't know how to install mysql in my mac os x. (no replies)

$
0
0
I already installed the DMS archive, and I put to run the server, but I don't what else I should do

Starting MySQL as a service Cannot start service on computer (no replies)

$
0
0
I am using MySQL Server 5.7.7. I had a working server before since the application i was using with it allowed a successful connection. After doing a tweak that messed up the application with the server, i tried reinstalling.

When i reinstalled, i got the following:
Attempting to run MySQL Server with --Initialize-insecure
Running process: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
Waiting for the server stops: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
2015-08-28T15:09:07.624206Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-28T15:09:11.441233Z 0 [Warning] InnoDB: New log files created, LSN=45790
2015-08-28T15:09:12.200104Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2015-08-28T15:09:12.563414Z 0 [Warning] Failed to setup SSL
2015-08-28T15:09:12.564387Z 0 [Warning] SSL error: SSL context is not usable without certificate and private key
2015-08-28T15:09:13.012437Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
Finished initialize database
Ended configuration step: Initializing Database [if necessary]

Beginning configuration step: Starting Server
Starting MySQL as a service
Cannot start service PNE Server on computer '.'.
Ended configuration step: Starting Server

I tried reconfiguring since the service did not work.
When i went back, i entered the same password and got the following:

Exception Text
System.InvalidOperationException: Cannot start service {MyServerName} on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at WexInstaller.Plugins.Server.MySQLServiceControlManager.Start(String serviceName)
at WexInstaller.Plugins.Server.ServerConfigurationController.StartServer()
at WexInstaller.Plugins.Server.ServerConfigUserPanel.buttonCheck_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


What should i do to fix this?

My.cnf file not visible in the Red hat installed mysql (no replies)

$
0
0
dear all.
I have a red hat box in vmware where i installed mysql. i want to make some configuration changes to the mysql. to my surprise i could n't get any my.cnf file from where the mysql is withdrawing its parameters or variable.
There is only one file name my-defaults.cnf and that too is is just dummy file .
kinldy guide me where i can get my real defailt option file so i could make the required changes

Can not find ./configure to install MySQL from source (no replies)

$
0
0
Hi,

I downloaded the source of MySQL 5.6.26 and tried to install it using the usual three steps: ./configure + make + make install. But after uncompressing the .gz archive, I found that there is no ./configure at all! If I ran configure.cmake which looks promising, I got nothing but errors. How should I install MySQL from source then?

"Log file path must be defined before calling WriteToLog method" error (no replies)

$
0
0
On booting my Win 7 Pro system, I get this error message: "Unhandled Exception: Log file path must be defined before calling WriteToLog method".

I think this happened when, trying to fix a system problem (that has nothing to do with MySQL) I did a system reset that rolled the system back to a point before I installed MySQL, and then I undid that rollback. My guess is that the "undo" failed to reinstall something, but as a MySQL newbie I'm just guessing.

Anyway, would appreciate help on what to do about it now.

~ Thanks in advance
~ Ken
Viewing all 7170 articles
Browse latest View live




Latest Images