lincanbin / Carbon-Forum

A high performance open-source forum software written in PHP. Discussions Tags based with Quora/StackOverflow style.
https://www.94cb.com/
Apache License 2.0
1.84k stars 434 forks source link

Unable to start by Installing, it shows this error #307

Open Rautarchit001 opened 4 years ago

Rautarchit001 commented 4 years ago

Unhandled Exception. SQLSTATE[HY000] [1045] Access denied for user 'epiz_25205990'@'192.168.2.193' (using password: YES) You can find the error back in the log.

Mayank-1234-cmd commented 3 years ago

I setupped it! (you need ~php-poc or ~hello-httpd) use glitch.com/edit/#!/remix/ablaze-quartz-mare (if you're using this on glitch)

sga-experimental commented 3 years ago

Try using

cd install; rm -rfv install.lock; php index.php; cd ..

, then enter the exact same installation details you used before.

alitheDev commented 3 years ago

where to do this step? @sga-experimental

Mayank-1234-cmd commented 3 years ago

Any time.alias resetCarbon="cd $1 & cd install & rm -rf install.lock & php index.php; cd .." Then just run resetCarbon <where you installed carbon (for me resetCarbon /var/www)>

alitheDev commented 3 years ago

Any time.alias resetCarbon="cd $1 & cd install & rm -rf install.lock & php index.php; cd und.." Then just run resetCarbon <where you installed carbon (for me resetCarbon /var/www)>

sorry i dint understand. what u are trying to say. can u explain in easy terms?

Mayank-1234-cmd commented 3 years ago

in the console:

cd carbon #  (go to where you installed carbon)
cd install   #  (go to the install folder)
rm -rf install.lock # remove install.lock to reinstall
mysql -u USER # enter mysql user
CREATE DATABASE forum;-- create database
quit;--quit mysql command prompt
php index.php # reinstall carbon

Then you can change the database to 'USER', set the ip to 'localhost', and leave the password blank, and the database to 'forum' when you setup it.