Unable to connect to the database after installing Phabricator

Source: Internet
Author: User
After installing Phabricator, you cannot connect to the database. now you have installed Phabricator. now you can access it, but it is stuck in this step.

Follow the tutorial on the official website to run./bin/storage upgrade-user Phabricator-password 123456.
Follow the prompts to run./bin/config set mysql. port 3306. it is still useless and the parameters are not modified at all. how can this problem be solved.
The environment is Apache + php + mysql, mysql is not installed by me, mysql is installed before php, and rpm is used for installation, while php is installed by source code.
./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/defaults 6 /\
-- 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 it

Your mysql root user has a password, but you didn't give it
Because this is the host of the company, the root account won't give it to me. I created a new account for me, and then run the config set mysql. pass command to make it completely invalid.

Didn't you show that you logged on with the root user?
Since there is no root account, ask the administrator to authorize
How can 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.