Installing Phabricator, unable to connect to database

Source: Internet
Author: User
Now that you have installed Phabricator, you can now access it, but the card is in this step.

According to the official website of the tutorial, run./bin/storage upgrade-user phabricator-password 123456 no use.
Follow the prompts to run the./bin/config set Mysql.port 3306, still no use, the parameters are not modified at all, how to break.
The environment used is apache+php+mysql,mysql not I installed, MySQL installed before PHP, and is the use of the RPM installation, and PHP is the source of the installation.
./configure \
--prefix=/usr/local/php \
--WITH-CONFIG-FILE-PATH=/USR/LOCAL/PHP/ETC \
--WITH-APXS2=/USR/LOCAL/APACHE/BIN/APXS \
--with-mysql \
--with-libxml-dir=/usr/local/libxml2/\
--with-png-dir=/usr/local/libpng/\
--with-jpeg-dir=/usr/local/jpeg6/\
--with-freetype-dir=/usr/local/freetype/\
--WITH-GD \
--with-zlib-dir=/usr/local/zlib/\
--with-mcrypt=/usr/local/libmcrypt/\
--WITH-MYSQLI \
--ENABLE-SOAP \
--enable-mbstring=all \
--enable-sockets \
--ENABLE-PCNTL \


Reply to discussion (solution)

Your MySQL root user has a password, but you didn't give

Your MySQL root user has a password, but you didn't give
Because this is the company's mainframe, the root account will not be given to me, create a new account for me, and then run the config Set mysql.pass command is completely invalid.

You are not showing that you are logged in with the root user?
Since there is no root account, then ask the administrator to authorize
How do I work without permissions?

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.