Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all 7248 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!

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

Amazing Monday Shows August 4, 2014 (no replies)

$
0
0
www.dealerchecker.com/forum/index.php?/topic/67742-online-putlocker-teen-wolf-season-4-episode-7-weaponized-online-and-free/

www.dealerchecker.com/forum/index.php?/topic/67737-%E2%84%A2s04e07mtv-teen-wolf-season-4-episode-7-online-free/

freerice.com/node/3378261

electricsheep.org/node/8567

electricsheep.org/node/8566

electricsheep.org/node/8565

Creating MySQL User Account (no replies)

$
0
0
Hello everyone,

I am new to MySQL and I am having trouble creating a user account. I am using a textbook called Internet & World Wide Web, 5e by Deitel. The book instructed me to download XAMPP and to create a MySQL user account.

It says that to create a user account, I must enter "mysql -h localhost -u root" in a command prompt but when I do, the command prompt says,
" 'mysql' is not recognized as an internal or external command, operable program or batch file". How would I go about fixing this problem?

Also, I was able to gain access to PHP My Admin and create a user account there. Is the account I created in PHP My Admin a PHP user account or a MySQL user account? If it's a MySQL account, then I believe I wouldn't need to go the command prompt route since I have already created a user account.

And lastly (sorry this post is soo long), I also changed the Path in the Systems Variables Settings. I found the Path of the MySQL folder (from the inside of the XAMPP folder) and added it to the Path in the Environment Variables section and the command prompt still returns the same error.

Thank you for taking the time to read this, I've been stuck on this issue for more than a few hours.

Party like YOLO August 5, 2014 (no replies)

$
0
0
www.eventbrite.co.uk/o/online-putlocker-watch-geordie-shore-season-8-episode-3-s08e03-free-mtv-uk-6933200035
www.eventbrite.com/o/mtv-uk-geordie-shore-season-8-episode-3-online-amp-free-stream-6933443729
forums.acquia.com/general/general-discussion/online-putlocker-geordie-shore-season-8-episode-3-online-and-free
youtu.be/ek3l6EtmmbU

Swift Solutions In (1 reply)


Awesome Thursday Shows August 7, 2014 (no replies)

$
0
0
www.eventbrite.co.uk/o/s01e12watch-gang-related-season-1-episode-12-online-free-6942649723

board.navi-gaming.com/counter-strike_int/gang_related_season_1_episode_12_online_putlocker-_sockshare_am/

changefusion.eu/blog/8014

Gang relate 1x12 full video now (no replies)

$
0
0
www.reddit.com/r/bexaya/comments/2cxy8l/

www.bungie.net/en/Clan/Post/167512/67519234

Big Brother (US) 16x20 full video now (no replies)

$
0
0
www.reddit.com/r/bexaya/comments/2cy2dh/

Big Brother (US) 16x20 Free video now (no replies)

Big Brother US 16x20 video free (no replies)

$
0
0
www.reddit.com/r/bexaya/comments/2cy9uv/

Friday Awesome Show August 8, 2014 (no replies)

$
0
0
www.eventbrite.com.au/o/hd-putlocker-watch-avatar-the-legend-of-korra-season-3-episode-10-online-free-stream-6952367273
collarfactory.com/cforum/viewtopic.php?f=3&t=27621
www.reddit.com/r/bahogetatz/comments/2cz1cg

Friday Night entertainment August 8, 2014 (no replies)

$
0
0
strasbourg.craigslist.fr/res/4610101614.html
strasbourg.craigslist.fr/res/4610168235.html
www.reddit.com/r/Bodlatmata/comments/2d17ny/
strasbourg.craigslist.fr/res/4610163006.html

Blood Bath Night Sunday August 10, 2014 (no replies)

$
0
0
www.reddit.com/r/bahogitlog/comments/2d2bwy/

strasbourg.craigslist.fr/res/4610533923.html

strasbourg.craigslist.fr/res/4610535175.html

strasbourg.craigslist.fr/res/4610536204.html

jsbin.com/hisos/1/ (no replies)

Saturday Night Boxing, August 9, 2014 (no replies)

$
0
0
strasbourg.craigslist.fr/res/4611005440.html

strasbourg.craigslist.fr/res/4611015802.html

jsbin.com/rubuq (no replies)

www.reddit.com/r/bexong/comments/2d41n1/ (no replies)

$
0
0
www.reddit.com/r/bexong/comments/2d41n1/
Viewing all 7248 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>