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

Installing/using MySQL for Google Cloud SQL? (2 replies)

$
0
0
Hello!

I'm a new user trying to get MySQL set up, and have gotten so bogged down in errors that I can't seem to get anywhere. I need to install MySQL locally (apparently?) in order to connect to Google Cloud SQL with a web app that I'm building. I went ahead and did the full installation of MySQL 5.5 on my machine, since I didn't know what I would and would not need.

According to Google's tutorial (https://developers.google.com/cloud-sql/docs/mysql-client), I need to put in a few commands in the command prompt (I'm on Windows 8.1, if that makes a difference). Specifically, the first command is where I'm stuck:

"shell> mysql --host=instance-IP --user=root --password"

...where instance-IP is specific to my account. When I try typing in mysql (or mysql -u root) into the prompt, I get this error:

"Access denied for user 'root'@'localhost' <using password: NO>"

For kicks, I also tried typing that command into the MySQL Command Line Client that installed with MySQL. I didn't get an error, but it simply didn't do anything (where I expected it to ask me for the password that I set up on Google's server).

Apologies for sounding so new. I'm just stuck at the beginning and can't figure out how to get started. Any help at all would be greatly appreciated. Thanks!

Amazing Tuesday Shows you July 21, 2014 (no replies)

$
0
0
sites.google.com/site/teenwolfseason4episode5online/-s04e05-teen-wolf-season-4-episode-5-online-free-watch-live-streaming

www.gtamc.net/forum/threads/s04e05-teen-wolf-season-4-episode-5-i-e-d-online-free-mtv-streaming.75211/

www.gtamc.net/forum/threads/putlocker-teen-wolf-season-4-episode-5-watch-online-free-stream.75234/

www.drupalladder.org/lesson/3a14b044-e5a4-4d80-8d53-ac0c74ac91ea

www.sites.google.com/site/underthedomeseason2episode4/under-the-dome-season-2-episode-4-live-streaming-watch-online-free

www.gtamc.net/forum/threads/putlocker-under-the-dome-season-2-episode-4-watch-online-free-stream.75655/

www.gtamc.net/forum/threads/s02e04-under-the-dome-season-2-episode-4-revelation-online-free-streaming.75762/

Mysql DRBD HA cluster (1 reply)

$
0
0
Hi There I am configuring HA cluster for mysql with DRBD, Corosync and pacemaker.

CRM Status is given below
Last updated: Wed Jul 23 12:40:50 2014
Last change: Wed Jul 23 11:52:52 2014 by root via cibadmin on clus1
Stack: classic openais (with plugin)
Current DC: clus2 - partition with quorum
Version: 1.1.10-f3eeaf4
2 Nodes configured, 2 expected votes
5 Resources configured


Online: [ clus1 clus2 ]

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

Failed actions:
p_mysql_start_0 on clus1 'unknown error' (1): call=1444, status=complete, last-rc-change='Wed Jul 23 12:40:42 2014', queued=0ms, exec=4124ms
p_mysql_start_0 on clus2 'unknown error' (1): call=45, status=complete, last-rc-change='Wed Jul 23 11:52:53 2014', queued=0ms, exec=21173ms



I am wondering how I can make MYSQL to work
I can start MYSQL with the following command
/usr/sbin/mysqld --user=mysql --datadir=/var/lib/mysql_drbd/data --pid=/var/lib/mysql/mysql.pid --socket=/var/lib/mysql/mysql.sock

My CRM configuratiosn files are given below

primitive p_mysql ocf:heartbeat:mysql \
params binary="/usr/sbin/mysqld" config="/var/lib/mysql_drbd/my.cnf" datadir="/var/lib/mysql_drbd/data" pid="/var/lib/mysql/mysql.pid" socket="/var/lib/mysql/mysql.sock" user="mysql" group="mysql" additional_parameters="-- bind-address=10.40.12.254 --user=mysql" \
op start timeout="120s" interval="0" \
op stop timeout="120s" interval="0" \
op monitor interval="20s" timeout="30s"



ms ms_drbd_mysql p_drbd_mysql \
meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"

primitive p_drbd_mysql ocf:linbit:drbd \
params drbd_resource="r0" \
op monitor interval="15s"
primitive p_ip_mysql ocf:heartbeat:IPaddr2 \
params ip="10.40.12.254" cidr_netmask="22" nic="eth0"

tail -f /var/log/messages

Jul 23 12:40:38 clus1 mysql(p_mysql)[18859]: INFO: MySQL is not running
Jul 23 12:40:38 clus1 crmd[5779]: notice: process_lrm_event: LRM operation p_mysql_stop_0 (call=1441, rc=0, cib-update=1379, confirmed=false) ok
Jul 23 12:40:38 clus1 crmd[5787]: notice: process_lrm_event: LRM operation p_mysql_stop_0 (call=1441, rc=0, cib-update=1386, confirmed=true) ok
Jul 23 12:40:38 clus1 mysql(p_mysql)[18886]: INFO: MySQL is not running
Jul 23 12:40:38 clus1 su: (to mysql) root on none
Jul 23 12:40:38 clus1 su: (to mysql) root on none
Jul 23 12:40:38 clus1 mysql(p_mysql)[18886]: INFO: MySQL is not running

I am not sure what's wrong I am doing with p_mysql parameters.



I am trying to solve it from last full week.
Any help please?

Thanks

Mahmood

MESSAGE: Connection timed out: connect (no replies)

$
0
0
I trying to connect to mySQL on a LInux Redhat Server. I getting
MESSAGE: Connection timed out: connect

JDBC URL: jdbc:mysql://144.117.144.18:3306/OWL
Driver is mysql-connector-java-5.0.8-bin.jar

Firewall is configured
iptables
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql

Server is listen
netstat -lnp | grep mysql
tcp 0 0 144.117.144.18:3306 0.0.0.0:* LISTEN 18875/mysqld
unix 2 [ ACC ] STREAM LISTENING 11378605 18875/mysqld /var/lib/mysql/mysql.sock

hosts.allow and hosts.deny are empty
mysQL is running
Uptime: 1373844 Threads: 1 Questions: 34549 Slow queries: 0 Opens: 33 Flush tables: 1 Open tables: 15 Queries per second avg: 0.25

What else could be wrong?

Amazing Friday Night Shows 7/26/2014 (no replies)

$
0
0
www.reddit.com/r/sabadoynajud/comments/2bqml9/s3e8_the_legend_of_korra_season_3_episode_8_watch/

www.reddit.com/r/bulanongbayot/comments/2bqnh4/the_legend_of_korra_season_3_episode_8_s03e08/

www.reddit.com/r/thelegendofkorra2x13/comments/2bksmd/s03e08_the_legend_of_korra_season_3_episode_8/

Best Boxing Matchup of the year July 26, 2014 (no replies)

$
0
0
freerice.com/node/3217210

www.reddit.com/r/GolovkinvsGeale/comments/2brpbt/gennady_golovkin_vs_daniel_geale_hboboxing/

freerice.com/node/3217268

www.reddit.com/r/FuryvsUstinov/comments/2brq2z/tyson_fury_vs_alexander_ustinov_hboboxing/

www.reddit.com/r/FuryvsUstinov/comments/2brqtp/tyson_fury_vs_alexander_ustinov_online_live/

freerice.com/node/3217369

www.reddit.com/r/GolovkinvsGeale/comments/2brqkd/bryant_jennings_vs_mike_perez_ppv_livestream/

Best Boxing Matchup of the Month July 27, 2014 (no replies)

$
0
0
www.lifehe.com/blogs/post/1509

localize.drupal.org/node/40048

www.reddit.com/r/GolovkinvsGeale/comments/2btiyh/

www.reddit.com/r/GolovkinvsGeale/comments/2brpbt/

www.imperian.com/forum/live-fight-gennady-golovkin-vs-daniel-geale-watch-live-streaming-online-free

Awesome supernatural creature July 27, 2014 (no replies)

$
0
0
www.reddit.com/r/TrueBlood7X6karma/comments/2bum5p/

www.reddit.com/r/bexoxo/comments/2bum9k/

localize.drupal.org/node/62008

www.marksdailyapple.com/forum/thread109487.html

www.lifehe.com/blogs/post/1557

Awesome shows online July 27, 2014 (no replies)

$
0
0
assoc.drupal.org/s07e06-watch-true-blood-season-7-episode-6-online-free-streaming

assoc.drupal.org/%C3%B8full-video%C3%B8-watch-true-blood-season-7-episode-6-online-free-hbo-streaming

www.reddit.com/r/kabayongbudlat/comments/2buzrv/

assoc.drupal.org/putlocke%C2%AE-watch-strain-season-1-episode-3-streaming-fullvideo-online

www.reddit.com/r/kabayongigat/comments/2bv02q

assoc.drupal.org/putlocke%C2%AE-watch-last-ship-season-1-episode-6-streaming-fullvideo-online

Installing/using MySQL for Google Cloud SQL? (2 replies)

$
0
0
Hello!

I'm a new user trying to get MySQL set up, and have gotten so bogged down in errors that I can't seem to get anywhere. I need to install MySQL locally (apparently?) in order to connect to Google Cloud SQL with a web app that I'm building. I went ahead and did the full installation of MySQL 5.5 on my machine, since I didn't know what I would and would not need.

According to Google's tutorial (https://developers.google.com/cloud-sql/docs/mysql-client), I need to put in a few commands in the command prompt (I'm on Windows 8.1, if that makes a difference). Specifically, the first command is where I'm stuck:

"shell> mysql --host=instance-IP --user=root --password"

...where instance-IP is specific to my account. When I try typing in mysql (or mysql -u root) into the prompt, I get this error:

"Access denied for user 'root'@'localhost' <using password: NO>"

For kicks, I also tried typing that command into the MySQL Command Line Client that installed with MySQL. I didn't get an error, but it simply didn't do anything (where I expected it to ask me for the password that I set up on Google's server).

Apologies for sounding so new. I'm just stuck at the beginning and can't figure out how to get started. Any help at all would be greatly appreciated. Thanks!

Demote root? (1 reply)

$
0
0
We have a MySQL 5.5.14 instance that was built poorly from a security perspective.

There are multiple PHP web applications that access their databases using the root account. We are planning a new application that will contain a database with sensitive data. We can set up a new user for the sensitive database, but there is concern that a hacker going through one of the other applications using the root account (which has global access to all data) can hack into the sensitive data.

One solution proposed was to create a new user with full global access for administration purposes, grant root database-level access to the existing databases for the existing applications, then remove the global priviliages for root.

Is this a viable solution? Is it particularly difficult or risky? (I'm a MSSQL dba who pokes around in MySQL when needed.) Is there an existing tutorial that descibes the steps to do this in detail?

Thanks in advance.

how do I restarting mysql server using windows 8.1 (3 replies)

$
0
0
hi there
I've been using mysql server and sql workbench for about 6 months now and not had any issues with the server until now. I upgraded to windows 8.1 yesterday and now I can't get mysql server to start.

I've included a copy of whats in my .err file also I tried running
"C:\program files\mysql\mysql server 5.6\bin\mysqld" at the command line - have also included the output from that.

Cant seem to get the server running again - any help would be v gratefully received as have read lots on the mysql reference pages but seem to be goimg round in circles.

Many thanks
Caroline

below is the content of my error file in \data directory

2014-06-02 01:47:38 1320 [Note] Plugin 'FEDERATED' is disabled.
2014-06-02 01:47:38 1320 [Note] InnoDB: The InnoDB memory heap is disabled
2014-06-02 01:47:38 1320 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-06-02 01:47:38 1320 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-06-02 01:47:38 1320 [Note] InnoDB: Not using CPU crc32 instructions
2014-06-02 01:47:38 1320 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-06-02 01:47:38 1320 [Note] InnoDB: Completed initialization of buffer pool
2014-06-02 01:47:38 1320 [Note] InnoDB: Highest supported file format is Barracuda.
2014-06-02 01:47:38 1320 [Note] InnoDB: 128 rollback segment(s) are active.
2014-06-02 01:47:38 1320 [Note] InnoDB: Waiting for purge to start
2014-06-02 01:47:38 1320 [Note] InnoDB: 5.6.14 started; log sequence number 1625977
2014-06-02 01:47:38 1320 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 7efcb3b8-e9ef-11e3-b84f-681729ce6039.
2014-06-02 01:47:38 1320 [Note] Server hostname (bind-address): '*'; port: 3306
2014-06-02 01:47:38 1320 [Note] IPv6 is available.
2014-06-02 01:47:38 1320 [Note] - '::' resolves to '::';
2014-06-02 01:47:38 1320 [Note] Server socket created on IP: '::'.
2014-06-02 01:47:39 1320 [Note] Event Scheduler: Loaded 0 events
2014-06-02 01:47:39 1320 [Note] c:\program files\mysql\mysql server 5.6\bin\mysqld: ready for connections.
Version: '5.6.14' socket: '' port: 3306 MySQL Community Server (GPL)


Here is the output from running the command on the command line:

C:\Users\C11RVV>"c:\program files\mysql\mysql server 5.6\bin\mysqld"
2014-06-02 01:56:58 0 [Warning] TIMESTAMP with implicit DEFAULT value is depreca
ted. Please use --explicit_defaults_for_timestamp server option (see documentati
on for more details).
2014-06-02 01:56:58 5028 [Warning] Can't create test file c:\program files\mysql
\mysql server 5.6\data\KCADI.lower-test
2014-06-02 01:56:58 5028 [Warning] Can't create test file c:\program files\mysql
\mysql server 5.6\data\KCADI.lower-test
2014-06-02 01:56:58 5028 [Note] Plugin 'FEDERATED' is disabled.
2014-06-02 01:56:58 5028 [Note] InnoDB: The InnoDB memory heap is disabled
2014-06-02 01:56:58 5028 [Note] InnoDB: Mutexes and rw_locks use Windows interlo
cked functions
2014-06-02 01:56:58 5028 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-06-02 01:56:58 5028 [Note] InnoDB: Not using CPU crc32 instructions
2014-06-02 01:56:58 5028 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-06-02 01:56:58 5028 [Note] InnoDB: Completed initialization of buffer pool
2014-06-02 01:56:58 5028 [ERROR] InnoDB: .\ibdata1 can't be opened in read-write
mode
2014-06-02 01:56:58 5028 [ERROR] InnoDB: The system tablespace must be writable!

2014-06-02 01:56:58 5028 [ERROR] Plugin 'InnoDB' init function returned error.
2014-06-02 01:56:58 5028 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGIN
E failed.
2014-06-02 01:56:58 5028 [ERROR] Unknown/unsupported storage engine: InnoDB
2014-06-02 01:56:58 5028 [ERROR] Aborting

2014-06-02 01:56:58 5028 [Note] Binlog end
2014-06-02 01:56:58 5028 [Note] Shutting down plugin 'partition'
2014-06-02 01:56:58 5028 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2014-06-02 01:56:58 5028 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
etc etc

system_time_zone suddenly set to RIC, times off by 5 hours (no replies)

$
0
0
Suddenly this morning, NOW() and timestamps are all in UTC, not localtime so they are 5 hours off.
Windows 7/64 clock is right and timezone is correctly set to US central time. $ENV{TZ}='CDT' and
'GMT-5:00', 'UTC-5:00', "America/Chicago" and others were tried and not understood by Mysql.

show variables where variable_name like '%zone%' →
system_time_zone ric
time_zone -05:00

The “time_zone” was fixed by adding “default-time-zone = -5:00” to my.inid->[mysqld] and restarting the server.

There seems to be no documented way on dev.mysql.com to permanently fix the “system_time_zone=ric” problem. The suggestion to “consult [windows] documentation...” is not helpful.

A permanent, one-time, config fix rather than some ad hoc set statement for every session is preferable.

There seems to be a bug in the 5.6 doc, 10.6 MySQL Server Time Zone Support:
global server time zone value can be specified . . . in an option file:
default-time-zone='timezone'
This directive alters only the “TIME_ZONE” variable, not the “system_time_zone” variable which would appear to be the GLOBAL of the 2.

What is the my.ini verbiage needed to fix the “system_time_zone = ric” problem and where can the documentation be found? A link to bookmark would be handy.

set time_zone='GMT-5:00' ==>> Lookup Error - MySQL Database Error: Unknown or incorrect time zone: 'GMT-5:00'

No “STANDARD” timezones are understood and the time_zone table is empty. mysql-5.6.16-winx64

Awesome Monday Shows July 28, 2014 (no replies)

$
0
0
greensourcedfw.org/green-organizations/s04e06-watch-teen-wolf-season-4-episode-6-online-free-streaming

prague2013.drupal.org/event/megashare-s4e6-watchteen-wolf-season-4-episode-6-online-free-streaming

greensourcedfw.org/green-organizations/replay-watch-true-blood-season-7-episode-6-online-full-video-free

Smallest MySQL server possible? (1 reply)

$
0
0
I want to install and run MySQL server occupying the smallest possible disk space.

It must run InnoDB at least and also support all standard like triggers, all data types for columns, master/slave replication, foreign keys, etc....

What is the best way to do this? Downloaded the ZIP and its too large weighing at about 1GB I think..

Gangster Fever July 31, 2014 (1 reply)

$
0
0
www.solution-internet.com/content/la-luz-verde-watch-gang-related-season-1-episode-11-online-free

board.navi-gaming.com/counter-strike_int/s01e11-gt_gang_related_season_1_episode_11_online_free_fox/

board.navi-gaming.com/counter-strike_int/fox-watch_gang_related_season_1_episode_11_online/

sbsproduction.dk/fox-watch-gang-related-season-1-episode-11-online-free-full-streaming

sbsproduction.dk/video-gang-related-season-1-episode-11-online-fox-stream

Best Show in Nickelodeon Ever August 1, 2014 (no replies)

$
0
0
www.bungie.net/en/Clan/Post/163316/67204801

www.cmatas.org/forum/viewtopic.php?pid=2633

electricsheep.org/node/8409

sbsproduction.dk/stakeout-watch-avatar-legend-korra-season-3-episode-9-online-free-nickelodeon

sbsproduction.dk/node/59600

Shotgun punches August 2, 2014 (no replies)

$
0
0
sites.google.com/site/sergeykovalevvsblakecaparello/hbo-sergey-kovalev-vs-blake-caparello-watch-live-ppv-boxing-stream

electricsheep.org/node/8457

www.bungie.net/en/Clan/Post/164050/67248248

sites.google.com/site/nflhalloffame2014live/ny-giants-vs-buffalo-bills-live-streaming

electricsheep.org/node/8454

Power Punchers August 3, 2014 (no replies)

$
0
0
www.bungie.net/en/Clan/Post/164382/67272065

board.navi-gaming.com/counter-strike_int/hbo-_watch_brandon_rios_vs_diego_chaves_live_streaming

board.navi-gaming.com/counter-strike_int/live_hbo-_-watch_brandon_rios_vs_diego_chaves_live_streamin

board.navi-gaming.com/counter-strike_int/hbo_live_boxing-watch_sergey_kovalev_vs_blake_caparello_live_/

board.navi-gaming.com/counter-strike_int/hbo_boxing-_watch_sergey_kovalev_vs_blake_caparello_live_st/

Best Sunday Shows August 3, 2014 (no replies)

$
0
0
www.bungie.net/en/Clan/Post/164722/67297436

sa-vrp.com/showthread.php?tid=20403

sa-vrp.com/showthread.php?tid=20410

www.fastwolfbites.com/Thread-S07E07-watch-True-Blood-Season-7-Episode-7-online-free-Streaming
Viewing all 7172 articles
Browse latest View live




Latest Images