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

choose where to install Mysql on Cent OS (no replies)

0
0
Hi,

My post my message into the wrong Forum (Newbie). Is there a way I can move it to here ?

If not, I wanted to know if the only way to choose where to install mysql on Unix was build from source then install (And not use tools such as yum since I am on CentOS)

Thank you for any information,
regards,
St.

Windows HP and MySQL ... (2 replies)

0
0
Is it possible that you CANNOT install MySQL on a Windows 7 HP box?

I recently purchased a new computer with Windows 7 Home Premium, 64 bit.
I have been trying to install MySQL for more than a week. This is a NEW box, and MySQL (any version) has never been installed before. (No unistall of previos versions required).

I am running "mysql-installer-community-5.5.28.2" installer. When the install starts, the status column for the server says "Install Error." Everything else installs successfully.

When I click on details I get:
...
1: Could not access network location \Hewlett-Packard\\.
1: Could not access network location \Hewlett-Packard\\.
1: 1: MySQL Server 5.5 2: {5CA882E6-4BF0-4E55-B290-6C4EAD6E586E} 3: 3
1:
1: Final actions.
1: Install error

Message ID: 18308928

Whats going on?

I did not have this probelm on my old Windows XP Pro box.

HELP...
Wayne

Transferred MySQL system (no replies)

0
0
I had transfer my mysql system across to a new computer in a bit of a rush due to a pending equipment failure.

The mysql is all running under opensuse 11 and is the same installation but MySQL cannot seem to see the databases any more. Is there something I have missed or need to check?

TTFN
Jim

MYSQL not working on the webpage (-1 replies)

Mysql 5.1 reinstallation (1 reply)

0
0
Hi,

I'd installed mySql-essential-5.1.50-win32.msi on my machine.
Due to some reasons I had to unistall it.
But now when i reinstall it seems to remember my previous installation process(it even asked my previous password) but and does't complete. You know there is a place wherein it checks the security while installing, the whole installation process halts there and doesn't respond.
My question is simple - how to remove mySql permanently from my system so that I reinstall it without any glitch??
I even went to regedit->HKEY_LOCAL_MACHINE->Software-> MYSQL AB and deleted the registries following some of the posts in the net. They said after we do that fresh installation passes easily.
But that too in vain..
Please help me.. I've wasted a lot of time on this..

Install problem on MySQL Enterprise Monitor (no replies)

0
0
I tried to install the mysql monitor, but stumbled on some problems.


Here is what I did.

1. Installed a second instance of mysql server on one of our servers into a different folder rather than into the regular folder because there is already another instance of mysql server running on the same server.
2. created the user service_manager user with a password.
3. The new instance runs on different socket, different port, different pid file and different binaries.
4. Now I switched to the regular env. and installed myql monitor.
5. Install had one error which is below.

Setup has completed installing the MySQL Enterprise Monitor files on your
computer (errors were found during the installation process).

No other error and no log files are created.
6. Started the mysql monitor. Here is what I found.

$ ./mysqlmonitorctl.sh status
MySQL Enterprise MySQL is not running
MySQL Enterprise Tomcat is not running
$ ./mysqlmonitorctl.sh start
Using CATALINA_BASE: /opt/app/mysql_mon/ent_mon/apache-tomcat
Using CATALINA_HOME: /opt/app/mysql_mon/ent_mon/apache-tomcat
Using CATALINA_TMPDIR: /opt/app/mysql_mon/ent_mon/apache-tomcat/temp
Using JRE_HOME: /opt/app/mysql_mon/ent_mon/java

$ ./mysqlmonitorctl.sh status
MySQL Enterprise MySQL is not running
MySQL Enterprise Tomcat is running
$

I believe mysql monitor is conflicting with the old instance of mysql server.

Did anyone come across this problem? I can't use the existing mysql server as the version is not compatible with mysql monitor requirements.

Any help is appreciated.
Thanks
BA

install 5.5.28 on debian problem (2 replies)

0
0
Hello

iam trying to install mysql 5.5.28 (from sources) on my Debian Lenny (5.0.5)
i want to install it as my second server on port 3307 (first one is on port 3306)

can anyone help me ?

121018 9:54:25 [Warning] Ignoring user change to 'mysql2' because the user was set to 'mysql' earlier on the command line

why this warning - i want install it as mysql2 user

121018 9:54:25 [ERROR] /usr/local/mysql2//bin/mysqld: unknown option '--skip-locking'

why this error - i have no skip-locking in my /etc/mysql2/my.cnf


i did:
str:/usr/src/mysql-5.5.28# cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql2 -DMYSQL_UNIX_ADDR=/tmp/mysql2.sock -DMYSQL_USER=mysql2 -DMYSQL_DATADIR=/usr/local/mysql2/data -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_polish_ci -DSYSCONFDIR=/etc/mysql2

cmake
cmake install

cd /usr/local/mysql2

scripts/mysql_install_db --user=mysql2

serv:/usr/local/mysql2# scripts/mysql_install_db --user=mysql2 --basedir=/usr/local/mysql2/
Installing MySQL system tables...
121018 9:54:25 [Warning] Ignoring user change to 'mysql2' because the user was set to 'mysql' earlier on the command line
121018 9:54:25 [ERROR] /usr/local/mysql2//bin/mysqld: unknown option '--skip-locking'
121018 9:54:25 [ERROR] Aborting
121018 9:54:25 [Note] /usr/local/mysql2//bin/mysqld: Shutdown complete

cat /etc/mysql2/my.cnf
[client]
port = 3307
socket = /tmp/mysql2.sock


[mysqld]
port = 3307
socket = /tmp/mysql2.sock
skip-external-locking
key_buffer_size = 256M
max_allowed_packet = 1M
table_open_cache = 256
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size= 16M
thread_concurrency = 8
log-bin=mysql-bin
binlog_format=mixed
server-id = 1

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash

[myisamchk]
key_buffer_size = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout

MySQL High Availability: DRBD (no replies)

0
0
I am working through the Mysql white paper in the subject line using DRBD, corosync and pacemaker on Oracle Linux on 2 virtualboxes.
Everything works apart from mysql won't start.
[root@oralin1 ~]# crm_mon -1
============
Last updated: Thu Oct 18 12:46:24 2012
Last change: Thu Oct 18 12:25:21 2012 via cibadmin on oralin1
Stack: openais
Current DC: oralin1 - partition with quorum
Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14
2 Nodes configured, 2 expected votes
5 Resources configured.
============

Online: [ oralin1 oralin2 ]

 Master/Slave Set: ms_drbd_mysql [p_drbd_mysql]
     Masters: [ oralin2 ]
     Slaves: [ oralin1 ]
 Resource Group: g_mysql
     p_fs_mysql	(ocf::heartbeat:Filesystem):	Started oralin2
     p_ip_mysql	(ocf::heartbeat:IPaddr2):	Started oralin2
     p_mysql	(ocf::heartbeat:mysql):	Stopped 

Failed actions:
    p_mysql_start_0 (node=oralin1, call=13, rc=-2, status=Timed Out): unknown exec error
    p_mysql_start_0 (node=oralin2, call=18, rc=-2, status=Timed Out): unknown exec error
[root@oralin1 ~]#
The mysql daemon has failed to start on both nodes.
This appears in the message log;
Oct 18 12:27:24 oralin1 lrmd: [1808]: WARN: p_mysql:start process (PID 2490) timed out (try 1).  Killing with signal SIGTERM (15).
Oct 18 12:27:24 oralin1 lrmd: [1808]: WARN: operation start[13] on ocf::mysql::p_mysql for client 1811, its parameters: pid=[/var/lib/mysql/mysql.pid] config=[/var/lib/mysql_drbd/my.cnf] additional_parameters=[--bind-address=172.27.1.103 --user=billy] crm_feature_set=[3.0.6] group=[billy] user=[billy] socket=[/var/lib/mysql/mysql.sock] CRM_meta_name=[start] binary=[/usr/sbin/mysqld] CRM_meta_timeout=[120000] datadir=[/var/lib/mysql_drbd/data] : pid [2490] timed out
Oct 18 12:27:24 oralin1 crmd[1811]:    error: process_lrm_event: LRM operation p_mysql_start_0 (13) Timed Out (timeout=120000ms)
Oct 18 12:27:24 oralin1 crmd[1811]:  warning: status_from_rc: Action 39 (p_mysql_start_0) on oralin1 failed (target: 0 vs. rc: -2): Error
Oct 18 12:27:24 oralin1 crmd[1811]:  warning: update_failcount: Updating failcount for p_mysql on oralin1 after failed start: rc=-2 (update=INFINITY, time=1350559644)

However using the same parameters on the command line I can start the database.
[root@oralin2 ~]# /usr/sbin/mysqld --user=billy --bind-address=172.27.1.103 --datadir=/var/lib/mysql_drbd/data --pid=/var/lib/mysql/mysql.pid --socket=/var/lib/mysql/mysql.sock

The file permissions appear correct.
[root@oralin2 ~]# ls -l /var/lib/mysql_drbd/data/
total 28684
-rw-rw----. 1 billy billy 18874368 Oct 18 12:43 ibdata1
-rw-rw----. 1 billy billy  5242880 Oct 18 12:43 ib_logfile0
-rw-rw----. 1 billy billy  5242880 Oct 18 12:43 ib_logfile1
drwxrw-rw-. 2 billy root      4096 Oct 18 11:52 mysql
drwxrw-rw-. 2 billy billy     4096 Oct 18 11:52 performance_schema
drwxrw-rw-. 2 billy root      4096 Oct 18 11:52 test
[root@oralin2 ~]#

Annoyingly nothing appears in the database log.
[root@oralin2 ~]# ls -l /var/log/mysqld.log 
-rw-r-----. 1 billy billy 0 Oct 18 12:27 /var/log/mysqld.log
[root@oralin2 ~]#

Any ideas where I am going wrong?

ndb node on different subnet to ndb_mgm nodes (no replies)

0
0
Hi, is there any way I can have my ndb nodes on a different subnet to that of my ndb_mgm nodes?

I would like to have data replicated on a private (non-routed) network/interconnect.

Am happy to use multiple NICs to achieve this, just not sure how the config would look/work.

An example would be:

ndb_node_a = eth0 = 192.168.0.1
ndb_node_a = eth1 = 192.168.1.1
ndb_node_b = 192.168.0.2
ndb_node_b = 192.168.1.2
ndb_mgm_node_a = 192.168.1.3
ndb_mgm_node_b = 192.168.1.4
ndb_mgm_node_c = 192.168.1.5

Data replication happens over 192.168.0.0/24
Management and cluster communications happens on 192.168.1.0/24

Live Server (no replies)

0
0
Hi,

I#ve installed workbench 5.2. an it runs fine. After i designed i database and i finished with a er-diagram, I tried to put this database on the live werver (Forward engineering). But it doesn#t work. So do i have to install wampp (including the apache server) or does workbench yet provide the Live Server funcionality?

thanks for helping answers.

which version is actually getting downloaded... (5 replies)

0
0
Hello, According to the documentation found on http://dev.mysql.com/tech-resources/articles/mysql-installer-for-windows.html, it states that the download of the Windows Installer will automatically detect whether I need a 32-bit version or the 64-bit version. I have a Windows 7 64-bit machine. When I went to the download screen the only option available to download is "Windows (x86, 32-bit), MSI Installer, v5.5.28 at 207.0M.

Since there was nothing specific available to download for my 64-bit machine I downloaded the above file. So my question is, what did it really download? Did it automatically detect and download the 64-bit version that I need as touted on the web page or did it install a 32-bit version?

Thanks!

Configuration/db access question (no replies)

0
0
I have installed mysql 5.5.24 on Ubuntu 12.04 using Synaptic Package Manager. I'm not new to sql databases, but I am new to mysql. I'm using the MySQL reference manual as I attempt to understand and configure everything. So far, I'm not making much headway. I'm stuck right now trying to start the database and connect as a specific user. (In this case, I want to connect as user 'mysql')
As suggested in the ref man I've made a backup of the data directory, and then run
>mysql_install_db -user=mysql
in order to recreate the data directory, with default tables, with 'mysql' as the owner.
This part worked.
Now, if I start mysql, again as shown in the ref man using
>service mysql start
the database does in fact start. This has been confirmed by
>mysqladmin version
However, when I start the database in this manner, it appears that I am connected as no user, or user ' '
I believe this because if I execute
>mysqlshow
I see only two databases, 'information_schema' and 'test', even though the table 'mysql' exists in the data directory.

The ref man also references starting the database using
mysqld_safe --user=mysql &
When I do this, it doesn't appear as though the database starts. (Yes, I did stop the database prior to running this command.)
I say this doesn't start the database because 'mysqlshow' returns the following error:
mysqlshow: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Now, as I said, I'm brand new to mysql and am somewhat confused and completely stuck at this point. Can anyone help me get past this point?

MySQL Server, MySQL Query Browser, and MySQL Administrator (-1 replies)

0
0
MySQL Server, MySQL
Query Browser, and MySQL Administrator

is that available in one pakge our should i download it separately.......

igging this of (no replies)

0
0
Surprisingly enough were absolutely digging this of the Showtime alternation

CW released Gossip Girl Season 6 Episode 3 the new spoilers and sneak peek,spoiler clip 90210 Season 5 Episode 3 (below) for their upcoming ?90210? episode 3,and it looks like it?ll be quite interesting as Liam still tries to sort out what the hell happened to crazy Vanessa after her plunge of death, Dexter Season 7 Episode 4 and more. The episode is labeled, ?It?s All Fun And Games.?
In the new,3rd episode, under Annie?s advice, 90210 Season 5 Episode 3 Liam is going to approach Vanessa?s lawyer. However,he?ll be more concerned when a detective starts asking about her whereabouts. Riley is going to push Dixon to help him recuperate. Walking Dead Season 3 Episode 2
Adrianna will encourage Silver to spend a day enjoying everything she won?t be able to do once she?s a mother, after she starts worrying about what she will look like after her surgery. Naomi is going to Gossip Girl Season 6 Episode 3 hatch a plan to catch Alec out, but unbeknown to her, he is blackmailing her. Episode 3 airs Monday,October 22nd at 7pm central time on the CW.
______________________________________

Test (no replies)


Windows 7 MySQL .msi installer (config. part) is broken? (no replies)

0
0
I used the installer Windows 7. I believe that the actual installation procedure worked fine. It was with the next step, the configuration utility, where some problems arose.

It seems that, as with my attempt to install (64 bit Windows 7) there may be some issues with the configuration utlitiy. Often, the last 4 configuration steps cannot all be succesfully completed. After a few hours, although the installer did not complete, I was however able to in via the command line.

Apparently, a previous installation attempt can leave some renegade files.

One post suggested to run this command to remove something related to the previous installation

C:\>sc Delete MySQl

Note
If you get something like C:\this\that>
tpye cd.. then press enter to move up in the directory until you get to C:\>

* Be sure that you run above as Administrator *
Type cmd in the Start Menu's search box
Right click on cmd.exe
Run as Administator
* Be sure that you run above as Administrator *

Also, you may want to check for a renegade MySql folder with C:\ProgramData (adjust your folder options to show 'hidden file and folders').

If I may say so, it would be nice to see some improvements that would enhance the reliability and efficiency of this configuration utility.

There a n u m e r o u s postings in regards to the configuration utility!
There a n u m e r o u s postings in regards to the configuration utility!

Be patient, and good luck!

Note: For Apache and Php installation please visit this link:
This guy shows you how to install PHP manually. I followed step by step and finally got Apache and Php working:)

http://www.webdevelopersnotes.com/how-do-i/install-apache-windows-7.php

Be patient. Good Luck!

Sutter back truly on his show once more (no replies)

0
0
Just just in case any of you wished to visualize government producer Kurt Sutter back truly on his show once more

Kingdom of the Blind,” the third Episode in Pretty Little Liars third season opened with phony blind chick Jenna (Tammin Sursock) creeping up the Rosewood High courtyard. Spencer (Troian Bellisario), Aria (Lucy Hale), Emily (Shay Mitchell), and Hanna (Ashley Benson) watch from the wayside, and appropriately assess her freakiness.
Hanna: “We should push a table Pretty Little Liars Season 3 Episode 13 in front of her and see what happens.”
Actually, that sounds like a really funny idea. Apparently, the girls have decided that it’s best if Aria fake a friendship with Jenna because she “trusts” her. Basically, they want Aria to play dumb, and to practice Presidential Debate music with Jenna at her house like Jenna had suggested she do on the previous episode. There’s an awkward scene where Aria ends up having to link arms with Jenna while they walk down the hallway making plans, and Jenna makes a comment about looking stage fright “in the eyes.” Good one, Jenna. American Horror Story Season 2 Episode 2 Almost immediately after dealing with one frienemy, the girls also bump into Lucas (Brendan Robinson) who has a poor excuse for a bad boy act on. The principal scolds him for having a bad attitude, Walking Dead Season 3 Episode 2 and when Hanna attempts to get to the bottom of this situation by talking with Lucas alone, he makes a scene and lights his bad report on fire in a trashcan. Hanna and Caleb (Tyler Blackburn) put it out. Afterwards, the two of them head out for coffee to discuss. Caleb thinks Lucas is just letting go of some pent up aggression from being too nice over the past three years. He agrees to talk to Lucas so long as Hanna promises not to visit Mona (Janel Parrish) anymore.
Caleb confronts Lucas. Lucas is a big jerk, [url=and won’t budge. His nerdy jests and jabs go over Caleb’s head, and over mine. More importantly, Lucas alludes to Mona being just “the tip of the iceberg.” Soon, the iceberg is bowling itself over, and bringing all of their “junk” to the surface. Watch out, Caleb! Pretty Little Liars Season 3 Episode 13
When Aria actually does head over to Jenna’s, she looks bored as ****. I’m actually impressed by her keyboard playing for how uninvested she seems. Jenna asks about Emily, and how she’s been doing. All of her prying gets Aria a little ticked. Later, Spencer mentions that she thinks Jenna was just snooping to see if Emily remembers the night she blacked out. Eventually, Aria spies a note in Jenna’s flute case, and when Jenna goes to check on the cookies, Aria sees that it has information on earplugs. I mean, Jenna is a musician, so is it really that crazy of an idea that she would need them for something noisy? More importantly, Jenna bakes!
______________________________________

exponent whenever showrunners (no replies)

0
0
The ever getting to get out of prison usually were not extremely an exponent whenever showrunners

n the meantime, Emily is concerned Sons of Anarchy Season 5 Episode 7 over a peculiarly high test score. She thinks A rigged her grade. After talking with her teacher, Ella (Hollie Marie Combs), and receiving way too many “I did it, but I can’t tell you I did it” hints from Mrs. Montgomery, Emily panics for another reason. Now, she has a secret with Aria’s mom. Why would Aria’s mom give her a solid “A”? Give her like a “B-/C+”! The old A loved secrets, but this A likes grave robbing. When Emily later confesses to Aria that she’s more angry than scared this time around, it becomes clear to Aria that Emily is done playing the weak victim. Haven’t we tried this storyline before? Pretty Little Liars Season 3 Episode 13
Aria runs to Ezra (Ian Harding) for advice on her mom’s decision to help Emily cheat. Ezra understands where Ella is coming from, but looks worried for her. Aria alerts him that the vice principal wants to speak with her mom, and that she’s worried about her getting fired. Also, Ezra is having trouble finding work.
Later on, Ezra bumps into Ella at the coffee shop, and they spend a few moments bonding over tutoring and boring school stuff. Ezra lets her know that he is aware of her slip, and Ella lets him know that an anonymous student tipped off the VP that she may be favoring Emily. Oh, A. She plans on telling the truth, but Ezra beats her to the punch. He tells the vice principal that he was overzealous about tutoring Emily, and that visiting Ella while she graded the exam probably made another student feel like she was helping Emily out too much. Emily is tired of people lying for her, though, and of people feeling sorry for her. Ezra shuts her up by having her retake her test. She’s so excited to spontaneously retake a test!
At the Hastings’ residence, we learn that Melissa Sons of Anarchy Season 5 Episode 7 (Torrey Devitto) is back. She’s back at work, sweeping up the fireplace ashes. Spencer’s mom (Lesley Fera) marches in, and lets them know that she’s chosen to represent Garrett in his trial. Spencer is, needless to say, ****** off. Veronica says she’s only helping because he deserves a fair trial, and she believes he could be innocent. Spencer believes he murdered her best friend and Emily’s love interest. Her mom could care less. Plus, she’s doing it all for free! What a slap in the face Pretty Little Liars Season 3 Episode 13 to Spencer. Something is obviously up with her family. Later, Spencer tries to reason with Melissa.Melissa: “For once in your life stop trying to be the smartest person in the room Can’t, Melissa. She always is! Spencer thinks her sister pressured her mother to represent her friend Garrett, but doesn’t understand why. Truth is, Melissa doesn’t care if he’s innocent or guilty, she just appreciates that Garrett is an honest guy.
______________________________________

my.ini on mysql 5.5.28.2 on Windows (no replies)

0
0
I installed mysql on windows 2003 server using mysql-installer-community-5.5.28.2.msi.

I installed only the Server Components & the JDBC Connector. The install went through fine. It also created a MySQL Command line shortcut pointing to the following
"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe" "--defaults-file=C:\Program Files\MySQL\MySQL Server 5.5\my.ini" "-uroot" "-p"

However, the install didn't create a my.ini in C:\Program Files\MySQL\MySQL Server 5.5\ so running the above command gave an error.

Could not open required defaults file: C:\Program Files\MySQL\MySQL Server 5.5\my.ini
Fatal error in defaults handling. Program aborted

I searched through the whole machine for a my.ini & found one in
C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server5 .5\my.ini"

I changed the shortcut to point to this and the command line starts up fine.

I am a total newbie to MySQL, so I am not sure if this is right thing to do? Is this a bug in the installer?

mysqli is missing when open phpmyadmin OR install help (1 reply)

0
0
MySQLi is missing when I try to run phpmayadim

It took a long while to get Apache and PHP working (Windows 7, 64-bit)
Found a helpful tutorial and finally got it to work

'MySQLi is missing when I try to run phpmayadim'

I solved this by reviewing my php.ini settings - I made a small type in one configuration statement.

In my original post I maybe have been a bit harsh?
Well, typo's aside, setting this server up was still a handful!

I believe I can tell you how to replicate my installation on Windows 7
If you need help post here and I will check if/when I log in

PS: Here is what helped me ALOT! Credit to the guy who wrote it:)
http://www.webdevelopersnotes.com/how-do-i/install-apache-windows-7.php
http://www.webdevelopersnotes.com/how-do-i/install-PHP-windows-7.php
etc, with another link for MySql Installation.

Also please note that if you install MySql for say, a second time because it did not 'go' the first time, you may need to do this

Start, Cmd (in Search box)
Right Click cmd.exe, run as admin
You should get a command prompt
C:\this\that>
use cd to go to C:\>
C:\this\that> cd..
C:\this> cd..
From C:\
C:\> sc Delete MySQL

In addition, I went into the hidden folder C:\ProgramData,
and (I think) I deleted the folder MySQL within

NOTE: In some cases I found that Restart-ing Apache was insufficient
Reboot your computer after making changes to any of the configuration files - it may just be the ticket.

Rebooting takes too long, it sucks?
Save up for a SSD Drive - Window's Salavtion.

Good Luck, I did get it to work and so can you!
(The massage cost me $80.00)
Viewing all 7166 articles
Browse latest View live




Latest Images