Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ MariaDB phpMyAdmin installation and configuration issues to resolve under CentOS7     - Eclipse 3.7.2 can not start solving under Ubuntu 14.04 (Linux)

- Brief Linux commands (Linux)

- C language sorting instance (select, bubble, insert, binary, fast) (Programming)

- Use Vagrant up a local development environment tutorials (Server)

- iOS Sensor Development - add to APP phone password, fingerprint security authentication (Programming)

- How VirtualBox and VMware virtual machine conversion (Linux)

- Linux RAID Set RAID 10 or 0 + 1 (Linux)

- Thrift 0.9.3 compiler installation under Ubuntu (Linux)

- A list of the basics of Python, Ganso, Dictionary (Programming)

- Linux system installation and usage instructions Wetty (Linux)

- To install and use the Doxygen under Linux (Linux)

- Php and MySQL command add to the environment variable method in Linux system (Linux)

- Python extension module Ganglia 3.1.x (Linux)

- Oracle 11gr2 new APPEND_VALUES tips (Database)

- Linux Network Analysis Tcpdump Command Guide (Linux)

- Prevent security threats caused Rootkit (Linux)

- How to use the TF / SD card making Exynos 4412 u-boot boot disk in Mac (Linux)

- The official release method to upgrade to Ubuntu 15.04 (Linux)

- How do you temporarily emptied Bash environment variable before running the command on Linux (Linux)

- MySQL innodb_table_stats table does not exist solution (Database)

 
         
  MariaDB phpMyAdmin installation and configuration issues to resolve under CentOS7
     
  Add Date : 2018-11-21      
         
         
         
  Linux novice. The problem until now finally decided to solve, with an afternoon plus minus one night to go to the cinema to see a movie and dinner time. Still quite a long time.

First talk about, in CentOS7 under with yum install mysql have become mariaDB, the beginning I was afraid phpmyadmin not support maria, later a search online is supported.

Well ado, the first is to install php, apache server (httpd) and phpmyadmin, because this is relatively simple thing.

So at this point in time I am now, yum install php-out version 5.4. This can later be installed via rpm -qa | grep php view.

And at this point in time I, the latest version of phpmyadmin need php5.5 + version, and thus, to download a little bit of the old version. This has its official website.

After httpd installation, configuration files are /etc/httpd/conf/httpd.conf, but not the Internet, said the root / var / www / but / var / www / html /, it is good to download and unzip over phpmyadmin folder put in here, and then change the name of a convenient easy to access. I hereby folder name to phpmyadmin. Then execute service httpd start. You are not that good can access the phpmyadmin?

Of course, do not have access, you will be prompted 403forbidden, this time, just going to say modify the configuration file, you will see

< Directory />
    AllowOverride none
    Require all denied
< / Directory>

To

< Directory />
    AllowOverride none
    Order allow, deny
    Allow from all
< / Directory>

Then save and exit and restart the service httpd restart. Then open the browser localhost / phpmyadmin, if you find you have selinux interference, you execute sentenforce 0 enough.

Of course, there you may be prompted to lack mbstring. This only needs yum install php-mbstring enough.

Then come to talk about mariaDB, first by yum install mysql, rather than automatically installed mariaDB mysql.

After installed, try service mariadb start like no matter, in fact, the command should be centOS7 systemctl start mariadb.service. Then you find it is still not open up?

Okay, you should check under your mariaDB have no means complete, rpm -qa | grep mariadb look. I was actually just installed two packages poor, in fact, need to install 8 packages:

mariadb-libs-5.5.44-1.el7_1.x86_64
mariadb-embedded-5.5.44-1.el7_1.x86_64
mariadb-5.5.44-1.el7_1.x86_64
mariadb-bench-5.5.44-1.el7_1.x86_64
mariadb-embedded-devel-5.5.44-1.el7_1.x86_64
mariadb-devel-5.5.44-1.el7_1.x86_64
mariadb-test-5.5.44-1.el7_1.x86_64
mariadb-server-5.5.44-1.el7_1.x86_64

The version number with your installed version change. If you find that not installed, you're one by one yum install it. . . (In fact, I personally feel that is not the test can not install, but seems to have a complete database of test)

Well loaded again systemctl start mariadb.service, you'll find out why or not!

In fact, there is no designated storage location and the name of the database you, execute the command: mysql_install_db --datadir = "/ var / lib / mysql" --user = "mysql"

After finally seems to specify it. But the first time you do not forget to set a root password: mysqladmin -u root password '1234'

It erupted is really done. You can just set root and the password phpmyadmin. Fully completed.

 See mariadb operating status can systemctl status mariadb.service
     
         
         
         
  More:      
 
- Linux device driver development small example --LED lights (Programming)
- Linux system on how to use rsync to synchronize data (Server)
- Understand the security restore accidentally deleted critical system files (Linux)
- 10 Nginx safety tips (Linux)
- Java framework for parallel study - ForkJoin (Programming)
- Tmux Getting Start (Linux)
- CentOS7 minimized installation can not find the 'ifconfig' command - Repair Tips (Linux)
- Character Encoding notes: ASCII, Unicode and UTF-8 (Linux)
- RedHat Linux 6 desktop installation (Linux)
- Java Learning: elegant string (Programming)
- Simple Linux file system - df, du, ln (Linux)
- To get Java class / jar package path (Programming)
- To achieve Linux Security (Linux)
- Binary Tree Traversal (Linux)
- Linux non-graphical interface to install Oracle Database (Database)
- Configuring DNS process under CentOS 6.5 (Server)
- To install GCC development environment under SUSE11 (Linux)
- Using Vagrant create cross-platform development environment (Linux)
- Zorin OS: Linux novice most personal desktop system should be used (Linux)
- ld.so.conf.d profile (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.