![]() Ideally, the MySQL instance should have been operating for at least 24 hours before running the tuner. MySQL Tuner is a Perl script that connects to a running instance of MySQL and provides configuration recommendations based on workload. sudo dpkg-reconfigure mysql-server-5.5ĭpkg will restart MySQL automatically and you’ll be able to log in using mysql -u root -p. You will again be asked to set a root password. Use dpkg to re-run the configuration process MySQL goes through on first installation. If you forget your root MySQL password, it can be reset. use testdb Ĭreate table customers (customer_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, first_name TEXT, last_name TEXT) This creates a table with a customer ID field of the type INT for integer (auto-incremented for new records, used as the primary key), as well as two fields for storing the customer’s name. mysql -u testuser -pĬreate a sample table called customers. Grant all on testdb.* to 'testuser' identified by 'password' In the example below, testdb is the name of the database, testuser is the user, and password is the user’s password. Nowarning (\w) Don't show warnings after every statement.įor server side help, type 'help contents' Warnings (\W) Show warnings after every statement. Might be needed for processing binlog with multi-byte charsets. Takes database name as argument.Ĭharset (\C) Switch to another charset. System (\!) Execute a system shell command. Status (\s) Get status information from the server. Nopager (\n) Disable pager, print to stdout. NOTE: Takes the rest of the line as new delimiter.Įgo (\G) Send command to mysql server, display result vertically. ![]() Optional arguments are db and host.ĭelimiter (\d) Set statement delimiter. Note that all text commands must be first on line and end with ' 'Ĭonnect (\r) Reconnect to the server. You’ll then see: List of all MySQL commands: To generate a list of commands for the MySQL prompt, enter \h. You’ll then be presented with a welcome header and the MySQL prompt as shown below: mysql> To log in to MySQL as the root user: mysql -u root -p The MySQL client is used through a terminal. The standard tool for interacting with MySQL is the mysql client which installs with the mysql-server package. You can read more about the script in the MySQL Reference Manual. It is recommended that you answer yes to these options. You will be given the choice to change the MySQL root password, remove anonymous user accounts, disable root logins outside of localhost, and remove test databases. Run the mysql_secure_installation script to address several security concerns in a default MySQL installation. If you decide to bind MySQL to your public IP, you should implement firewall rules that only allow connections from specific IP addresses. If those files actually are what Firefox needs, is there some other known problem?ģ.Allowing unrestricted access to MySQL on a public IP not advised, but you may change the address it listens on by modifying the bind-address parameter in /etc/my.cnf. If the Wheezy repository doesn't have it, does that mean Firefox V46 can't be used with Wheezy (or is there a tested alternate source for the dependencies, like a Debian backport)?ģ. Assuming none of those files is what Firefox needs, what is the exact name of the file (or files) required?Ģ. If this dependency is the issue, then apparently, none of these is what Firefox needs.ġ. Gir1.2-gtk-3.0, gir1.2-gtksource-3.0, libgtk-3-0, libgtk-3-bin, lib-gtk-3-common, libgtksourceview-3.0-0, libgtksourceview-3.0-common (plus a collection of files with other version numbers). I found a few installed files containing GTK in their names and identified as V3.4: There are dozens of files (probably over 50), containing GTK or GTK+ or GTK2 or GTK3 in their name. There is nothing called GTK+ V3.4 in any repository. Unfortunately, this information isn't actionable. Looking at the prerequisites, the only thing that changed between V45 and V46 is that the required minimum version of GTK+ went from 2.18 to 3.4. I found a Mozilla download for manually installing V45 again from a tarball, which is what I'm currently using. Installing V46 from a Mozilla tarball produces the same result, including starting Firefox with the default new-install profile. The updates are done by the package manager, so I assumed all required dependencies would be satisfied or a message would be generated. ![]() The system updated to V46 and Firefox wouldn't start (a window pops up asking if I want to send a report to Mozilla, then any attempt to retry produces the message again). I'm running Debian Wheezy and for some time, have linked to the LMDE repository for current versions of Firefox. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |