Вы находитесь на странице: 1из 13

SE ACCEPT UTILIZAREA MYSQL (MARIADB) /VEZI ANEXA 1 LA SFIRSITUL

TEMEI/ .

ncrcarea / lansarea MYSQL/MARIADB se face din cadrul CONTROL PANEL


A XAMMP.

LANSAREA MYSQL (MARIADB) /VEZI ANEXA 2 LA SFIRSITUL TEMEI/ .

XAMPP
Denwera
https://masalkin.name/ustanovka-i-nastrojka-xampp-vmesto-denwer-a/

//// sau aici XAMPP


http://design-for.net/page/nastrojka-i-ustanovka-xampp
Atentie la portul 88 unde este instalat Skype!!!!///

, .
, .
. ,
Denwera . ,
. , XAMPP ,
.

XAMPP?
XAMPP -. Linux,
Windows, Mac OS Solaris. Windows.
Apache, MySQL, PHP .

, XAMPP ,
, .
Windows. ,
Windows XP Win2003, OS, .
.

, .
XAMPP . .

.
, Apache, MySQL,
Fizilla, Mercury Tomcat .

. :/xampp

, Bitnami, .
XAMPP.

XAMPP


. :

Config .
, .
. XAMPP , mysql ,
mercury.

, ,
.

, . ,
. ,
.

Netstat ,
.
Shell .
Explorer XAMPP.
Service , .
Help Quit .
, . MySQL.

, localhost.
.
, .

phpMyAdmin ,
MySQL admin.
.

XAMPP, C:\xampp\htdocs
, wordpress,
http://localhost/wordpress/

XAMPP Explorer.
, .
http://localhost/wordpress/
WordPress .
PHP .
,
php.ini

, config
php.ini

memory_limit 256M,
php .
256 , ,
.
, .
, max_execution_time,
180 .
post_max_size 999 .
999 . .
XMAPP Apache.

P.S. , Denwera XAMPP.


.
ANEXA 1
MariaDB MySQL

https://mariadb.com/kb/ru/mariadb-vs-
mysql-features/
Monty Program has a MariaDB vs MySQL whitepaper available for download.
See also MariaDB vs MySQL - Compatibility
Under construction. .


, - MyISAM, Blackhole, CSV, Memory,
Archive, MariaDB :

Aria
XtraDB ( InnoDB)
PBXT ( MariaDB 5.1, 5.2 5.3. 5.5)
FederatedX ( Federated)
OQGRAPH 5.2
SphinxSE 5.2
IBMDB2I. Oracle ,
MySQL 5.1.55, MariaDB 5.5.
TokuDB
Cassandra (MariaDB 10.0)
CONNECT (MariaDB 10.0)
SEQUENCE (MariaDB 10.0)
Spider (MariaDB 10.0)


, MariaDB 5.3.
!
MySQL . .
: (commit)
(binary log). 2-
, .
/
InnoDB Windows.
MEMORY(HEAP) .
24%
(INSERT) (integer) , 60%
(CHAR) .
CHECKSUM TABLE.
(
, ).
1-5% ( sql-bench), ,
, 0x00-0x7f.
MariaDB 5.1 MariaDB 5.5.
MariaDB
(200,000+) .
MariaDB.
, .
Aria ( Maria)
,
(HDD/SSD/SAS/FC)
. MariaDB
5.1 MyISAM.
, .


MariaDB. patch' ,
- . ,
:

Microsecond Precision in Processlist


Table Elimination
Virtual Columns 5.2
Extended User Statistics 5.2
Segmented Key Cache 5.2
Pluggable Authentication 5.2
Storage-engine-specific CREATE TABLE 5.2
Enhancements to INFORMATION SCHEMA.PLUGINS table 5.2
Group commit for the binary log. This makes replication notable faster! 5.3
Added --rewrite-db mysqlbinlog option to change the used database 5.2
Progress reporting for ALTER TABLE and LOAD DATA INFILE. 5.3
Faster joins and subqueries. 5.3
HandlerSocket and faster HANDLER calls. 5.3
Dynamic Columns support. 5.3
Microseconds in MariaDB 5.3
Multi-source replication. 10.0
SHOW EXPLAIN gives you the EXPLAIN plan for a query running in another thread. 10.0


.
BUG' .
MariaDB,
.
(,
''X'', ).


BUG' - . BUG'
.
MariaDB.
.
Open Source
MariaDB GPL, LPGL BSD.
MariaDB , ,
Mysql Enterprise Edition. , MariaDB.
, MySQL 5.5 Enterprise Edition,
MariaDB.
MariaDB .
Oracle
, , MySQL 5.5.
BUG' .
MariaDB open source .


MariaDB MySQL

MariaDB
MariaDB - Russian

Anexa 2
MySQL
5 , 2015 | :
http://it-developer.in.ua/xampp-dostup-v-mysql-cherez-konsol.html

, ,
, - .
, .
XAMPP Shell.
- mysql -u login -p password
login - , root
Password - , .
!!!

:

1. xampp windows
2. XAMPP.
3. MySQL UTF-8 ?
4. XAMPP ()
ALTE VARIANTE DESCRISE IN ENGLEZA LE GASITI AICI

https://stackoverflow.com/questions/698914/how-can-i-access-the-mysql-command-line-with-xampp-for-
windows

PRECUM SI DUP CUM URMEAZ

mysql ( ):
# /etc/init.d/mysql start
:
# chkconfig -a mysql
:
# service --status-all
mysql ( ):
root MySQL, root
. MySQL
mysqladmin :

mysqladmin -u root password newpass

newpass .

() root :

mysqladmin -u root -p oldpassword newpass

oldpassword - , newpassword .
:

mysqladmin: connect to server at 'localhost' failed


error: 'Access denied for user 'root'@'localhost' (using password: YES)'

, , - .
MySQL.

MySQL .

mysqladmin -u user-name -p oldpassword newpass

user-name - .
2 - .

MySQL .
:

1. MySQL :

mysql -u root -p

2. .
mysql>

mysql> use mysql;

3.

mysql> update user set password=PASSWORD("newpass") where User='ENTER-USER-NAME-HERE';

4.

mysql> flush privileges;


mysql> quit

PHP Perl.
root MySQL.

MySQL 5 :

MySQL.
MySQL (mysqld) --skip-grant-tables, ..
.
MySQL c root-
.
MySQL.

, , ,
root-.

1. MySQL:

/etc/init.d/mysql stop
Stopping MySQL database server: mysqld.

2. --skip-grant-tables

mysqld_safe --skip-grant-tables &

[1] 5988
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6025]: started

3. MySQL mysql:

mysql -u root

Welcome to the MySQL monitor. Commands end with ; or \g.


Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>

4. root:

mysql> use mysql;


mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
mysql> flush privileges;
mysql> quit

5. MySQL:

/etc/init.d/mysql stop

Stopping MySQL database server: mysqld


STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[6186]: ended
[1]+ Done mysqld_safe --skip-grant-table

MySQL- :

/etc/init.d/mysql start
mysql -u root -p

Вам также может понравиться