Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Viatori's avatar

Migrate an existing website

Hi,

I have an old existing website based in Gandi. until now, i used filezilla to update website (it was a little website since covid pandemy....)

But now, this website is currently generating little bit of cash (around 60K / month.... ahah) and I have to optimize it.

So I migrated it on gitlab and created an account to forge.

But now, when I want to connect gitlab, I have an error :

In Connector.php line 70:

SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using pa  
 ssword: NO)

Where can update this credentials ? env file is empty...

How to solve it ?

Thanks,

0 likes
9 replies
tykus's avatar

Add your correct database credentials to the Environment in Forge; you'll find Edit Environment under the Site admin in Forge

Viatori's avatar

When I click on "install repository", my env file is deleted i think, because after error message, my env file is empty :/

Viatori's avatar

I think i will do it manually by ssh

UhOh's avatar

Wait, you’re app is making $720K/year? You should be on a beach. Contract someone to do it for you. 😄

Mind sharing the website Tnx.

Viatori's avatar

No... last year we realized around 80K€ of revenues with just this website. And we just realized 60K / month during march, april and May. June is less... We will reach around 20 / 25K.

It's training center for paramedical persons

For your information, we recruited 2 assistants :D. So we are 4 now in the company :)

And we have 2 other websites which are realizing around 100K / year of revenus each (all is automatic... we have to adjust advertsing each month and that's all)

Cheers,

UhOh's avatar

And we have 2 other websites which are realizing around 100K / year of revenus each (all is automatic... we have to adjust advertsing each month and that's all)

Dropshipping sites? if you don't mind sharing, tnx

@viatori

Viatori's avatar

Hi @uhoh

No it's not dropshipping websites. We are currently running 2 webistes : First : On Astrology / Numerology which is fully automated, from lead magnet to numeric product delivery. Around 90/100K / year of revenues and around 45/50K of margin.

Second is certified french training center for medical and paramedical workers. This website now generates around 60K / month of revenues.

Ciao,

I gonna drink cocktails on my private beach ;),

Viatori's avatar

And we are currently lauching another website for medical and paramedical workers (but not in training / courses). The Saas is not launched and we have already clients and we generate now around 4K / month (the saas is not launched yet....)

Please or to participate in this conversation.