Coder Social home page Coder Social logo

tuning-primer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tuning-primer's Issues

can't find my.cnf + other problems

running this script or even the older version I get this messages

Using login values from ~/.my.cnf
INITIAL LOGIN ATTEMPT FAILED
Could not auto detect login info!
Found potential sockets: /var/lib/mysql/mysql.sock
Using: /var/lib/mysql/mysql.sock
Would you like to provide a different socket? [y/N] : n
Do you have your login handy? [y/N] : n
Please create a valid login to MySQL
Or, set correct values for 'user=' and 'password=' in ~/.my.cnf
Would you like me to create a ~/.my.cnf file for you? [y/N] : n

I have run this on different servers and it does not give me any of these errors or ask me for passwords

my.cnf is actually found in
/etc/my.cnf

and I have MYSQL 5.7

mysql -V
mysql Ver 14.14 Distrib 5.7.16, for Linux (x86_64) using EditLine wrapper

this my.cnf that the script will create will only be used by the script right ?

Key Buffer: Runtime error (func=(main), adr=10): Divide by zero

Thank you for your wonderful program!

I'm getting the following errors each time I run it:

KEY BUFFER
Runtime error (func=(main), adr=10): Divide by zero
(standard_in) 1: syntax error
Current MyISAM index space = 9 K
Current key_buffer_size = 0 bytes
Key cache miss rate is 1 : 1
Key buffer free ratio = %
tuning-primer.sh: line 795: [: -le: unary operator expected
tuning-primer.sh: line 799: [: -le: unary operator expected
tuning-primer.sh: line 803: [: -le: unary operator expected
Your key_buffer_size seems to be fine

I'm using Ubuntu 14.04 LTS, GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu), mysql Ver 14.14 Distrib 5.5.55, for debian-linux-gnu (x86_64) using readline 6.3.

Thank you again!

mysql-version number check throws "Illegal number" error (octal versus decimal)

When executing this script i end up with this error:
./tuning-primer.sh: 1323: ./tuning-primer.sh: Illegal number: 050718

Tracing the source it's where the mysql version number is checked.
I've uncommented the check to make it work, but then other checks throughout the script fire the same error.
In my opinion this is due to numbers with leading zeros considered being octal instead of decimal. in octal you only have 0-7 making the 8 at the end of my version number "illegal"

Good Script

This is a good script.
The old tuning-primer won't work accurately on latest mysql, i think.

Thank you for making this.

Could not run in Docker containers

I copied the script to MySQL docker container but the script could not run there. After installing some dependency commands, namely bc net-tools it stopped with sysctl which could not be installed for docker container because it is a host shared resource.

Is there any way to run the script with Docker containers?

Can not use script all of sudden

When i type this :

./tuning-primer.sh

No output in my SSH console.
Strange thing is i can type anything to the SSH console.
How to fix this?

Thank you.

Fehler beim Aufruf

./tuning-primer.sh: Zeile 4: Syntaxfehler beim unerwarteten Wort »newline«
./tuning-primer.sh: Zeile 4: `'

Diesen Fehler erhalte ich.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.