Quantcast
Channel: Programming and Technology » MySQL
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Can’t change user options in MySQL Administrator

May be you installed MySQL 5 and you are not able to change user information, schema privileges and resources for your MySQL users using the MySQL Administrator. You select “User Administration” then a...

View Article


Apache 2 + MySQL 5 + PHP 5.3 + phpMyAdmin 3.5.4 installation script for Mac...

Based on the instructions provided by Gilles Fabio I’ve created a complete installation script to install Apache 2, MySQL 5, PHP 5.3 and phpMyAdmin 3.5.4 for Mac OS X using MacPorts. It’s important to...

View Article


Image may be NSFW.
Clik here to view.

Run shell commands in Mac OS X executing a normal application

Once I installed Apache2+MySQL5+PHP5.3 using MacPorts I wanted to start and stop the services without having to open a terminal window a run the commands myself. This can be achieved creating an...

View Article

Change root password in MySQL

In GNU/Linux: $ sudo mysqld_safe --skip-grant-tables & $ mysql -u root -p #press enter to use a blank password mysql> use mysql; mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD")...

View Article

Useful Apache 2 and MySQL 5 service aliases for MacPorts

Those are some aliases I use to start, stop and restart Apache 2 and MySQL on my MacPorts installation done with the installation script I made some time ago. You have to edit “~/.bash_profile” file...

View Article


Image may be NSFW.
Clik here to view.

Increase the phpMyAdmin session timeout

Edit your config.inc.php file (in my Ubuntu 12.04 it was located at /etc/phpmyadmin/config.inc.php) and add the following line (where X is the amount of seconds the session will last):...

View Article

Image may be NSFW.
Clik here to view.

Fix ERROR 2006 (HY000) at line ###: MySQL server has gone away

I once had a project with one MySQL table that had over 2 million rows. First time I tried moving that project from one computer to another I had the error “ERROR 2006 (HY000) at line ###: MySQL server...

View Article

Image may be NSFW.
Clik here to view.

Connect to MySQL over SSH with MySQL Workbench

If you don’t have phpMyAdmin installed on your server or you don’t feel comfortable using it there’s the option to connect over SSH to MySQL with MySQL Workbench. I didn’t know this could be done until...

View Article


Image may be NSFW.
Clik here to view.

Change WordPress table prefix to avoid SQL injection attacks

WordPress uses a table prefix for each installation in case you want/need to have more than one WordPress in the same database. It uses “wp_” by default but is encouraged to use other string to add...

View Article


View MySQL server information

With the server up and running: $ mysqladmin variables -u root -p Enter password: +----------------------------+----------------------------+ | Variable_name | Value |...

View Article
Browsing latest articles
Browse All 10 View Live