Jump to content
Froxlor Forum
  • 0
JavaLink

Have problem on Froxlor installation

Question

CCCC.png

Hi

I try install Froxlor several times bu every time i get error

 SQLSTATE[HY000] [1045] Access denied for user 'myuser'@'localhost' (using password: YES)

I do these things for create use:

CREATE USER 'myuser'@'localhost' IDENTIFIED BY 'pP123!@#Hello';

then

create database froxlor;

 

and then

GRANT ALL PRIVILEGES ON `froxlor` TO 'myuser'@'localhost';


 

FLUSH PRIVILEGES;

 

I check connection with a file called con.php contain this ---> and it's OK.

<?php
$servername = "localhost";
$username = "myuser";
$password = "pP123!@#Hello";

// Create connection
$conn = new mysqli($servername, $username, $password);

// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";

 

but after run froxlor to install it and fill all information, i get that error.

Also i check again with server and find out that the `myuser` user is deleted...What happened? What Froxlor do?

Share this post


Link to post
Share on other sites

12 answers to this question

Recommended Posts

  • 0

Server version: 5.7.27-0ubuntu0.16.04.1 (Ubuntu)

PHP Version 7.0.33-0ubuntu0.16.04.5
Server version: Apache/2.4.18 (Ubuntu)

Froxlor: 0.9.40.1

 

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, d00p said:

- mysql/mariadb version?

Version....

Share this post


Link to post
Share on other sites
  • 0

usually, froxlor uses the given root-user to create the unprivileged user and its database. My best guess is that there's some special character in the password that mysql/php-pdo somehow does not like. Could you try without any special characters to be sure?

Share this post


Link to post
Share on other sites
  • 0
On 9/2/2019 at 2:02 PM, d00p said:

usually, froxlor uses the given root-user to create the unprivileged user and its database. My best guess is that there's some special character in the password that mysql/php-pdo somehow does not like. Could you try without any special characters to be sure?

OK . you mean change password of myuser to simpler password?

Share this post


Link to post
Share on other sites
  • 0

OK thanks. installed.

i have couple of another questions about froxlor:

0 - Where is admin login page? after installation i got to first page for installation..

1- What is difference between froxlor with DirectAdmin and Cpanel... i see that i install it without clean server. I mean why DirectAdmin need clean server to installing it.. but in froxlor i now just install it on my production server with previous site without any problem.

2- Can froxlor damage another database or user's. i am now on a production server. for example delete my previous database .. or i dont know apache config or mysql or anythings.

 

Thanks.

   

Share this post


Link to post
Share on other sites
  • 0
19 minutes ago, JavaLink said:

0 - Where is admin login page? after installation i got to first page for installation..

then your installation did not finish completely. Be sure that all froxlor files belong to the webserver user or read carefully at the last page of installation (due to permissions the required config file could be created in /tmp/ and you need to manually move it to the froxlor/lib/ folder)

In any other cases, opening froxlor in a browser will prompt you with the login - which is the admin login page.

23 minutes ago, JavaLink said:

1- What is difference between froxlor with DirectAdmin and Cpanel... i see that i install it without clean server. I mean why DirectAdmin need clean server to installing it.. but in froxlor i now just install it on my production server with previous site without any problem.

very vague question. I don't really now the others, never used them, never will. I bet there are many differences. No froxlor does not require a "clean server". Yes you can install it on production server with sites on it. Be careful about given directories/files in the settings which might get deleted/regenerated regulary though.

27 minutes ago, JavaLink said:

2- Can froxlor damage another database or user's. i am now on a production server. for example delete my previous database .. or i dont know apache config or mysql or anythings.

Definetly...froxlor's main purpose is to generate apache configs (and other services) for you. That's the whole point. And yes, you can damage a lot :) Froxlor is not a beginners tool - it supports and helps admins, but it definetly does not replace one

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Joso
      Hi,
      after a hard work I arrived at the configuration of froxlor and also here we find the difficulties for the configuration.
      I have to admit, there are no tutorials that guide the user in every part of the configuration. So I hope in this forum to complete everything.
      Apart from the premise, I found the error indicated by the flooded image. How do you solve it?
       
      Thanks

    • By shaaz
      Is that possible to install froxlor in c-panel using one database user password?
      Or how can we skip the values of mysql_unpriv_user and mysql_unpriv_pass while installing?
    • By wwl
      Hallo, ich stelle fest das Froxlor ständig um die 10 Datenbankverbindungen aufrecht erhält. Normalerweise sollte doch nur eine Verbindung in Verwendung sein, der vom Cron gebraucht wird. Ok, wenn gerade viel konfiguriert wird, kann es auch mal mehr sein. Aber ständig 10 Connections ist sehr viel weil auch InnoDB Datenbanken viel Speicher brauchen.
      Gibts da eine Lösung?
      Christian
    • By NitroxydeX
      Hallo Community und Staff,
      bezüglich eines Serverwechsel stande nun auch eine Änderung des Control Panels an, da unser bisher genutztes einfach zu wenig geupdatet wurde und Fehler selbst gefixt werden mussten.
      Es blieb eigentlich nur Froxlor übrig. Allerdings haben wir nun feststellen müssen, dass man bei Froxlor nicht die Möglichkeit hat den Datenbanknamen und Nutzer frei zu wählen, was viele als hohes Sicherheitsrisiko werten. Warum ist dies so gewählt? Und gibt es bereits jetzt schon eine Möglichkeit das zu aktivieren?
      Zum anderen Problem: Froxlor scheint magisch alles abzufangen. Bislang hatte ich Apache so konfiguriert, dass alle nicht vorhanden Vhosts ins 403-Forbidden Nirvana gesendet werden. Gleiche Konfiguration habe ich nun auch mit Froxlor versucht und mein Abfangen als 01-beginnende Apache config hinterlegt. Dies fängt auch direkte Aufrufe der IP ab, allerdings funktioniert dies weder mit der IP noch mit nicht angelegten (Sub)-Domains. Es wird immer automatisch auf den FQDN des Panels umgeleitet, was eigentlich gar nicht möglich sein sollte. 
       
      Vielen Dank schon mal für die Antworten
    • By DavidCK
      Hi There,
       
      I have a problem with proftpd and folders permissions. I installed wordpress in the domain folder, the installation required sudo chown -R www-data:www-data permission, I assigned this permission via ssh but the problem is when I connect via ftp I can not edit nothing inside my domain folder because my ftp account does not have the permission.
       
      Anyone knows How Can I revert this?
       
      Thanks for your time.
       
      wordpress runs perfect with froxlor!!




×
×
  • Create New...