SlideShare a Scribd company logo
10 th  planet technologies ArjunRaj.d Mysql INSTALL UNINSTALL SETUP CONFIGURE BASIC SQL,ADVANCED SQL
Installation Step #1: Download MySQL 4.1.18 Download MySQL 4.1.18 (1 Jul 2005, 25.1MB) Filename: mysql-essential-4.1.18-win32.msi MD5 checksum: 40be516916b82b4b6af699ec3873917f (What's this?) For archives of various MySQL versions
a: Step #2: Install MySQL
b: 2.Select a setup type - Typical, Complete, Custom. Select Typical and click Next. The default insllation directory will be C:Programs FilesMySQLMySQL Server 4.1.MySQL version 4.1.18 installation setup type.
c: 3.Ready to install MySQL. After review the settings, click Install. If you want to change any settings, click [Back] button
d: Installation in progress.
e: 5.MySQL.com Sign-Up. If you don't want to sign-up at this stage, select Skip Sign-up and click Next.
f: 6.Setup Wizard Completed. Make sure you have selected 'Configure the MySQL Server now' checkbox if you want to configure it after click Finish button.
Setup  MYSQL  Mysql is a popular open source database which being used as database server by many organizations around the world Mysql is used together with PHP server-side scripting language, Apache web server and Linux as the server platform root@slackware:~# less /etc/passwd | grep mysql mysql:x:27:27:MySQL:/var/lib/mysql:/bin/false root@slackware:~#root@slackware:~# less /etc/group | grepmysqlmysql:x:27
a: root@slackware:~# ls /var/run/ | grep mysql mysql/ root@slackware:~#
b: Create a new directory named mysql in /var/run directory if it's not there. Learn how to create new directory in Slackware in mkdir tutorial. When you are done, check mysql directory ownership. It must be owned by mysql user and mysql group. root@slackware:~# ls -l /var/run/ | grep mysql drwxr-xr-x 2 mysql  mysql  4096 2008-10-05 13:29 mysql/ root@slackware:~#
c: You can change directory ownership with Linux chown command. See the example below: root@slackware:~# chown -R mysql.mysql /var/run/mysql/ root@slackware:~#
d: Install or upgrade mysql package in your Slackware system. See example on how to install mysql using slackpkg command below: root@slackware:~# slackpkg install mysql Looking for mysql in package list. Please wait... DONE No packages match the pattern for install. Try: /usr/sbin/slackpkg reinstall|upgrade
e: If you see the same result as the example below, try running the command again but using slackpkg upgrade option instead. Don't worry of you see the same result again. You probably have mysql installed and upgrade to the latest version already. You can confirm it by checking the installed packages in log directory. See the example below: root@slackware:~# ls -l /var/log/packages/ | grep mysql-rw-r--r-- 1 root root  8159 2009-02-28 01:25 mysql-5.0.67-i
Configure mysql  If you see the same result as the example below, try running the command again but using slackpkg upgrade option instead. Don't worry of you see the same result again. You probably have mysql installed and upgrade to the latest version already. You can confirm it by checking the installed packages in log directory. See the example below: root@slackware:~# ls -l /var/log/packages/ | grep mysql-rw-r--r-- 1 root root  8159 2009-02-28 01:25 mysql-5.0.67-i
a: root@slackware:~# usermod -G mysql mysql root@slackware:~# id mysql uid=27(mysql) gid=27(mysql) groups=27(mysql)
b: create a new mysql configuration file called my.cnf root@slackware:~# ls -l /etc/ | grep my -rw-r--r--  1 root root  4972 2008-10-05 13:29 my-huge.cnf -rw-r--r--  1 root root  4948 2008-10-05 13:29 my-large.cnf -rw-r--r--  1 root root  4955 2008-10-05 13:29 my-medium.cnf-rw-r--r--  1 root root  2525 2008-10-05 13:29mysmall.cnfroot@slackware:~#root@slackware:~# cp /etc/mymedium.cnf/etc/my.cn
c: Create mysql database root@slackware:~# mysql_install_db --user=mysql Installing MySQL system tables... 090423 12:35:45 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 090423 12:35:45 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 OK
d: Filling help tables... 090423 12:35:45 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 090423 12:35:45 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
e: To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !To do so, start the server, then issue the following commands:/usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h slackware password 'new-password'
f: Alternatively you can run: /usr/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default.  This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with:
g: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/bin/mysqlbug script!
g: To start mysql daemon at boot time, we can change the mysqld script file permission, the /etc/rc.d/rc.mysqld. root@slackware:~# chmod 755 /etc/rc.d/rc.mysqld root@slackware:~# ls -l /etc/rc.d/ | grep mysqld -rwxr-xr-x 1 root root  2585 2008-10-05 13:29 rc.mysqld*
h: Create password for mysql root user: root@slackware:~# /usr/bin/mysqladmin -u root password 'new_password' /usr/bin/mysqladmin: connect to server at 'localhost' failederror: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!
i: Opss...we got an error there. We forgot to start mysql daemon (mysql server) first. Let's start the server now: root@slackware:~# /usr/bin/mysqld_safe &
k: The tool is mysql_secure_installation. It's recommended you run this command In order to log into MySQL to secure it, we'll need the current password for the root user.  If you've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you should just press enter here. Enter current password for root (enter for none):
Uninstall mysql and remove mysql data Stop mysql service: root@slackware:~# killall -9 mysqld mysqld_safe[1]+  Killed /usr/bin/mysqld_saferoot@slackware:~# Uninstall mysql using slackpkg: root@slackware:~# slackpkg remove mysql Remove remaining mysql data and directory.root@slackware:~# rm-r/var/lib/mysql/root@slackware:~# rm /etc/my.cnf
Advanced Sql DB2ASP DB2ASP converts and publishes your database to dynamic asp web pages. DB2ASP creates ASP, HTML, CSS, and JavaScript in minutes, saving hours or even days of work. You can view/add/edit/delete you data via any browser. DB2ASP is for non-programmers an..
a: * SQL UNION* SQL UNION ALL* SQL INTERSECT* SQL MINUS * SQL LIMIT* SQL TOP * SQL Subquery * SQL EXISTS  * SQL CASE # SQL NULL # SQL ISNULL Function # SQL IFNULL Function # SQL NVL Function # SQL Coalesce Function # SQL NULLIF Function
b: * Rank * Median * Running Totals * Percent To Total * Cumulative Percent To Total
Configure My sql Start MySQL Server Instance Configuration Wizard.
2.Select configuration type. Because you do not already have another MySQL server installed, choose Standard Configuration.
 
4.Set a new password to root account. When MySQL was installed, the password for root account was blank. Now it is time to set a new password to it. Don't select the Create An Anonymous Account checkbox. This can lead to an insecure system. Set a new password to MySQL Server root account.
 
5.Now everything is ready to execute. Click Execute button to run it.
6.MySQL server configuration completed successfully.
Thank U

More Related Content

What's hot (20)

PPTX
Installing hive on ubuntu 16
Enrique Davila
 
PPTX
Installing hadoop on ubuntu 16
Enrique Davila
 
PPTX
How to deploy a MariaDB Galera cluster on Ubuntu 14.04
VEXXHOST Private Cloud
 
PDF
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
SaltStack
 
PDF
Multi Source Replication With MySQL 5.7 @ Verisure
Kenny Gryp
 
PPTX
Query logging with proxysql
YoungHeon (Roy) Kim
 
PPTX
MySQL InnoDB Cluster 미리보기 (remote cluster test)
Seungmin Yu
 
PDF
MySQL replication & cluster
elliando dias
 
PPTX
My sql failover test using orchestrator
YoungHeon (Roy) Kim
 
PDF
Mysql administration
beben benzy
 
PDF
Apache2 BootCamp : Getting Started With Apache
Wildan Maulana
 
PPTX
Capistrano 3 Deployment
Creston Jamison
 
PPTX
Control your deployments with Capistrano
Ramazan K
 
PDF
Webinar: MariaDB Provides the Solution to Ease Multi-Source Replication
Wagner Bianchi
 
PDF
NY Meetup: Scaling MariaDB with Maxscale
Wagner Bianchi
 
PPTX
MySQL Monitoring using Prometheus & Grafana
YoungHeon (Roy) Kim
 
TXT
Readme
Kineteco Inc.
 
PPT
SaltConf14 - Oz Akan, Rackspace - Deploying OpenStack Marconi with SaltStack
SaltStack
 
PPTX
N:1 Replication meets MHA
do_aki
 
PDF
MySql cheat sheet
Lam Hoang
 
Installing hive on ubuntu 16
Enrique Davila
 
Installing hadoop on ubuntu 16
Enrique Davila
 
How to deploy a MariaDB Galera cluster on Ubuntu 14.04
VEXXHOST Private Cloud
 
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
SaltStack
 
Multi Source Replication With MySQL 5.7 @ Verisure
Kenny Gryp
 
Query logging with proxysql
YoungHeon (Roy) Kim
 
MySQL InnoDB Cluster 미리보기 (remote cluster test)
Seungmin Yu
 
MySQL replication & cluster
elliando dias
 
My sql failover test using orchestrator
YoungHeon (Roy) Kim
 
Mysql administration
beben benzy
 
Apache2 BootCamp : Getting Started With Apache
Wildan Maulana
 
Capistrano 3 Deployment
Creston Jamison
 
Control your deployments with Capistrano
Ramazan K
 
Webinar: MariaDB Provides the Solution to Ease Multi-Source Replication
Wagner Bianchi
 
NY Meetup: Scaling MariaDB with Maxscale
Wagner Bianchi
 
MySQL Monitoring using Prometheus & Grafana
YoungHeon (Roy) Kim
 
SaltConf14 - Oz Akan, Rackspace - Deploying OpenStack Marconi with SaltStack
SaltStack
 
N:1 Replication meets MHA
do_aki
 
MySql cheat sheet
Lam Hoang
 

Viewers also liked (14)

PDF
My SQL Idiosyncrasies That Bite OTN
Ronald Bradford
 
PPT
Linux
Mindtree
 
PPT
Oreilly Webcast Jun17
Sean Hull
 
PDF
MySQL For Oracle DBA's and Developers
Ronald Bradford
 
PPS
Linux17 MySQL_installation
Jainul Musani
 
ODP
MySQL 5.7 Fabric: Introduction to High Availability and Sharding
Ulf Wendel
 
PDF
Mysql Explain Explained
Jeremy Coates
 
PDF
Successful Scalability Principles - Part 1
Ronald Bradford
 
PDF
MySQL Backup and Recovery Essentials
Ronald Bradford
 
PDF
Alphorm.com Support de la Formation PHP MySQL
Alphorm
 
PPS
Introduction to Mysql
Tushar Chauhan
 
PDF
MySQL Sharding: Tools and Best Practices for Horizontal Scaling
Mats Kindahl
 
My SQL Idiosyncrasies That Bite OTN
Ronald Bradford
 
Linux
Mindtree
 
Oreilly Webcast Jun17
Sean Hull
 
MySQL For Oracle DBA's and Developers
Ronald Bradford
 
Linux17 MySQL_installation
Jainul Musani
 
MySQL 5.7 Fabric: Introduction to High Availability and Sharding
Ulf Wendel
 
Mysql Explain Explained
Jeremy Coates
 
Successful Scalability Principles - Part 1
Ronald Bradford
 
MySQL Backup and Recovery Essentials
Ronald Bradford
 
Alphorm.com Support de la Formation PHP MySQL
Alphorm
 
Introduction to Mysql
Tushar Chauhan
 
MySQL Sharding: Tools and Best Practices for Horizontal Scaling
Mats Kindahl
 
Ad

Similar to Mysql (20)

DOCX
Upgrading mysql version 5.5.30 to 5.6.10
Vasudeva Rao
 
PPT
Mysql ppt
Sanmuga Nathan
 
ODP
Sql installation
Balakumaran Arunachalam
 
PDF
Multiple instances on linux
Vasudeva Rao
 
PPT
My sql
anandha ganesh
 
PDF
Instalar MySQL CentOS
Moisés Elías Araya
 
PDF
How to Install MySQL on Debian 12 In Just 8 Steps.pdf
Green Webpage
 
PDF
Percona Live '18 Tutorial: The Accidental DBA
Jenni Snyder
 
PPTX
My sql administration
Mohd yasin Karim
 
PDF
BITS: Introduction to MySQL - Introduction and Installation
BITS
 
PDF
Curso de MySQL 5.7
Eduardo Legatti
 
PDF
Better encryption & security with MariaDB 10.1 & MySQL 5.7
Colin Charles
 
PPTX
MySQL DBA OCP 1Z0-883
Kwaye Kant
 
PDF
MariaDB Server & MySQL Security Essentials 2016
Colin Charles
 
PDF
MySQL Backup and Security Best Practices
Lenz Grimmer
 
PDF
Mysql tutorial 5257
Phuong Do Anh
 
PPT
C_mysql-1.ppt
AmitabhMishra41
 
PDF
Mysql tutorial
Pankaj Sipl
 
PDF
MySQL for Beginners - part 1
Ivan Zoratti
 
PDF
My SQL 101
Dave Stokes
 
Upgrading mysql version 5.5.30 to 5.6.10
Vasudeva Rao
 
Mysql ppt
Sanmuga Nathan
 
Sql installation
Balakumaran Arunachalam
 
Multiple instances on linux
Vasudeva Rao
 
Instalar MySQL CentOS
Moisés Elías Araya
 
How to Install MySQL on Debian 12 In Just 8 Steps.pdf
Green Webpage
 
Percona Live '18 Tutorial: The Accidental DBA
Jenni Snyder
 
My sql administration
Mohd yasin Karim
 
BITS: Introduction to MySQL - Introduction and Installation
BITS
 
Curso de MySQL 5.7
Eduardo Legatti
 
Better encryption & security with MariaDB 10.1 & MySQL 5.7
Colin Charles
 
MySQL DBA OCP 1Z0-883
Kwaye Kant
 
MariaDB Server & MySQL Security Essentials 2016
Colin Charles
 
MySQL Backup and Security Best Practices
Lenz Grimmer
 
Mysql tutorial 5257
Phuong Do Anh
 
C_mysql-1.ppt
AmitabhMishra41
 
Mysql tutorial
Pankaj Sipl
 
MySQL for Beginners - part 1
Ivan Zoratti
 
My SQL 101
Dave Stokes
 
Ad

Recently uploaded (20)

PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
community health nursing question paper 2.pdf
Prince kumar
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
Dimensions of Societal Planning in Commonism
StefanMz
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 

Mysql

  • 1. 10 th planet technologies ArjunRaj.d Mysql INSTALL UNINSTALL SETUP CONFIGURE BASIC SQL,ADVANCED SQL
  • 2. Installation Step #1: Download MySQL 4.1.18 Download MySQL 4.1.18 (1 Jul 2005, 25.1MB) Filename: mysql-essential-4.1.18-win32.msi MD5 checksum: 40be516916b82b4b6af699ec3873917f (What's this?) For archives of various MySQL versions
  • 3. a: Step #2: Install MySQL
  • 4. b: 2.Select a setup type - Typical, Complete, Custom. Select Typical and click Next. The default insllation directory will be C:Programs FilesMySQLMySQL Server 4.1.MySQL version 4.1.18 installation setup type.
  • 5. c: 3.Ready to install MySQL. After review the settings, click Install. If you want to change any settings, click [Back] button
  • 6. d: Installation in progress.
  • 7. e: 5.MySQL.com Sign-Up. If you don't want to sign-up at this stage, select Skip Sign-up and click Next.
  • 8. f: 6.Setup Wizard Completed. Make sure you have selected 'Configure the MySQL Server now' checkbox if you want to configure it after click Finish button.
  • 9. Setup MYSQL Mysql is a popular open source database which being used as database server by many organizations around the world Mysql is used together with PHP server-side scripting language, Apache web server and Linux as the server platform root@slackware:~# less /etc/passwd | grep mysql mysql:x:27:27:MySQL:/var/lib/mysql:/bin/false root@slackware:~#root@slackware:~# less /etc/group | grepmysqlmysql:x:27
  • 10. a: root@slackware:~# ls /var/run/ | grep mysql mysql/ root@slackware:~#
  • 11. b: Create a new directory named mysql in /var/run directory if it's not there. Learn how to create new directory in Slackware in mkdir tutorial. When you are done, check mysql directory ownership. It must be owned by mysql user and mysql group. root@slackware:~# ls -l /var/run/ | grep mysql drwxr-xr-x 2 mysql mysql 4096 2008-10-05 13:29 mysql/ root@slackware:~#
  • 12. c: You can change directory ownership with Linux chown command. See the example below: root@slackware:~# chown -R mysql.mysql /var/run/mysql/ root@slackware:~#
  • 13. d: Install or upgrade mysql package in your Slackware system. See example on how to install mysql using slackpkg command below: root@slackware:~# slackpkg install mysql Looking for mysql in package list. Please wait... DONE No packages match the pattern for install. Try: /usr/sbin/slackpkg reinstall|upgrade
  • 14. e: If you see the same result as the example below, try running the command again but using slackpkg upgrade option instead. Don't worry of you see the same result again. You probably have mysql installed and upgrade to the latest version already. You can confirm it by checking the installed packages in log directory. See the example below: root@slackware:~# ls -l /var/log/packages/ | grep mysql-rw-r--r-- 1 root root 8159 2009-02-28 01:25 mysql-5.0.67-i
  • 15. Configure mysql If you see the same result as the example below, try running the command again but using slackpkg upgrade option instead. Don't worry of you see the same result again. You probably have mysql installed and upgrade to the latest version already. You can confirm it by checking the installed packages in log directory. See the example below: root@slackware:~# ls -l /var/log/packages/ | grep mysql-rw-r--r-- 1 root root 8159 2009-02-28 01:25 mysql-5.0.67-i
  • 16. a: root@slackware:~# usermod -G mysql mysql root@slackware:~# id mysql uid=27(mysql) gid=27(mysql) groups=27(mysql)
  • 17. b: create a new mysql configuration file called my.cnf root@slackware:~# ls -l /etc/ | grep my -rw-r--r-- 1 root root 4972 2008-10-05 13:29 my-huge.cnf -rw-r--r-- 1 root root 4948 2008-10-05 13:29 my-large.cnf -rw-r--r-- 1 root root 4955 2008-10-05 13:29 my-medium.cnf-rw-r--r-- 1 root root 2525 2008-10-05 13:29mysmall.cnfroot@slackware:~#root@slackware:~# cp /etc/mymedium.cnf/etc/my.cn
  • 18. c: Create mysql database root@slackware:~# mysql_install_db --user=mysql Installing MySQL system tables... 090423 12:35:45 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 090423 12:35:45 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 OK
  • 19. d: Filling help tables... 090423 12:35:45 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 090423 12:35:45 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
  • 20. e: To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !To do so, start the server, then issue the following commands:/usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h slackware password 'new-password'
  • 21. f: Alternatively you can run: /usr/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with:
  • 22. g: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/bin/mysqlbug script!
  • 23. g: To start mysql daemon at boot time, we can change the mysqld script file permission, the /etc/rc.d/rc.mysqld. root@slackware:~# chmod 755 /etc/rc.d/rc.mysqld root@slackware:~# ls -l /etc/rc.d/ | grep mysqld -rwxr-xr-x 1 root root 2585 2008-10-05 13:29 rc.mysqld*
  • 24. h: Create password for mysql root user: root@slackware:~# /usr/bin/mysqladmin -u root password 'new_password' /usr/bin/mysqladmin: connect to server at 'localhost' failederror: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!
  • 25. i: Opss...we got an error there. We forgot to start mysql daemon (mysql server) first. Let's start the server now: root@slackware:~# /usr/bin/mysqld_safe &
  • 26. k: The tool is mysql_secure_installation. It's recommended you run this command In order to log into MySQL to secure it, we'll need the current password for the root user. If you've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you should just press enter here. Enter current password for root (enter for none):
  • 27. Uninstall mysql and remove mysql data Stop mysql service: root@slackware:~# killall -9 mysqld mysqld_safe[1]+ Killed /usr/bin/mysqld_saferoot@slackware:~# Uninstall mysql using slackpkg: root@slackware:~# slackpkg remove mysql Remove remaining mysql data and directory.root@slackware:~# rm-r/var/lib/mysql/root@slackware:~# rm /etc/my.cnf
  • 28. Advanced Sql DB2ASP DB2ASP converts and publishes your database to dynamic asp web pages. DB2ASP creates ASP, HTML, CSS, and JavaScript in minutes, saving hours or even days of work. You can view/add/edit/delete you data via any browser. DB2ASP is for non-programmers an..
  • 29. a: * SQL UNION* SQL UNION ALL* SQL INTERSECT* SQL MINUS * SQL LIMIT* SQL TOP * SQL Subquery * SQL EXISTS * SQL CASE # SQL NULL # SQL ISNULL Function # SQL IFNULL Function # SQL NVL Function # SQL Coalesce Function # SQL NULLIF Function
  • 30. b: * Rank * Median * Running Totals * Percent To Total * Cumulative Percent To Total
  • 31. Configure My sql Start MySQL Server Instance Configuration Wizard.
  • 32. 2.Select configuration type. Because you do not already have another MySQL server installed, choose Standard Configuration.
  • 33.  
  • 34. 4.Set a new password to root account. When MySQL was installed, the password for root account was blank. Now it is time to set a new password to it. Don't select the Create An Anonymous Account checkbox. This can lead to an insecure system. Set a new password to MySQL Server root account.
  • 35.  
  • 36. 5.Now everything is ready to execute. Click Execute button to run it.
  • 37. 6.MySQL server configuration completed successfully.