Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

50%
+0 −0
#3: Post edited by user avatar trichoplax‭ · 2024-09-02T15:06:54Z (4 months ago)
Describe user specifically as a database user
  • It looks like you are using a database user `root`. I suspect this is at least part of the problem, so I recommend fixing it first.
  • If you look in the QPixel repository at the file `config/database.yml` you should see the database username and password that QPixel is trying to connect with (for me it's lines 8 and 9):
  • ```text
  • username: qpixel
  • password: redacted
  • ```
  • If you set up a database user called `qpixel` and set a password that you then add to `config/database.yml`, then QPixel should be able to connect to the database.
  • The instructions for doing this are in the section ["Setting up the Database" in the installation instructions for QPixel](https://github.com/codidact/qpixel/blob/develop/INSTALLATION.md#setting-up-the-database). Since you have already set up QPixel in the past, but then reinstalled MySQL, you may need to repeat some of these steps if things are missing (even though you already did them when you first set up QPixel).
  • For example, your config files should all still be intact, but contents of the database such as tables and users may need to be created again (they may not - I'm unsure, so I recommend setting up the `qpixel` user and then seeing if that's enough before repeating any other steps).[]()
  • It looks like you are using a database user `root`. I suspect this is at least part of the problem, so I recommend fixing it first.
  • If you look in the QPixel repository at the file `config/database.yml` you should see the database username and password that QPixel is trying to connect with (for me it's lines 8 and 9):
  • ```text
  • username: qpixel
  • password: redacted
  • ```
  • If you set up a database user called `qpixel` and set a password that you then add to `config/database.yml`, then QPixel should be able to connect to the database.
  • The instructions for doing this are in the section ["Setting up the Database" in the installation instructions for QPixel](https://github.com/codidact/qpixel/blob/develop/INSTALLATION.md#setting-up-the-database). Since you have already set up QPixel in the past, but then reinstalled MySQL, you may need to repeat some of these steps if things are missing (even though you already did them when you first set up QPixel).
  • For example, your config files should all still be intact, but contents of the database such as tables and users may need to be created again (they may not - I'm unsure, so I recommend setting up the `qpixel` database user and then seeing if that's enough before repeating any other steps).
#2: Post edited by user avatar trichoplax‭ · 2024-09-02T15:03:10Z (4 months ago)
Remove reference to password, that was my misunderstanding
  • It looks like you are using a database user `root` and a password for that user of `qpixel_dev`[^1]. I suspect this is at least part of the problem, so I recommend fixing it first.
  • If you look in the QPixel repository at the file `config/database.yml` you should see the database username and password that QPixel is trying to connect with (for me it's lines 8 and 9):
  • ```text
  • username: qpixel
  • password: redacted
  • ```
  • If you set up a database user called `qpixel` and set a password that you then add to `config/database.yml`, then QPixel should be able to connect to the database.
  • The instructions for doing this are in the section ["Setting up the Database" in the installation instructions for QPixel](https://github.com/codidact/qpixel/blob/develop/INSTALLATION.md#setting-up-the-database). Since you have already set up QPixel in the past, but then reinstalled MySQL, you may need to repeat some of these steps if things are missing (even though you already did them when you first set up QPixel).
  • For example, your config files should all still be intact, but contents of the database such as tables and users may need to be created again (they may not - I'm unsure, so I recommend setting up the `qpixel` user and then seeing if that's enough before repeating any other steps).
  • [^1]: There is a database called `qpixel_dev`, so this may have been accidentally typed in the wrong place.
  • It looks like you are using a database user `root`. I suspect this is at least part of the problem, so I recommend fixing it first.
  • If you look in the QPixel repository at the file `config/database.yml` you should see the database username and password that QPixel is trying to connect with (for me it's lines 8 and 9):
  • ```text
  • username: qpixel
  • password: redacted
  • ```
  • If you set up a database user called `qpixel` and set a password that you then add to `config/database.yml`, then QPixel should be able to connect to the database.
  • The instructions for doing this are in the section ["Setting up the Database" in the installation instructions for QPixel](https://github.com/codidact/qpixel/blob/develop/INSTALLATION.md#setting-up-the-database). Since you have already set up QPixel in the past, but then reinstalled MySQL, you may need to repeat some of these steps if things are missing (even though you already did them when you first set up QPixel).
  • For example, your config files should all still be intact, but contents of the database such as tables and users may need to be created again (they may not - I'm unsure, so I recommend setting up the `qpixel` user and then seeing if that's enough before repeating any other steps).[]()
#1: Initial revision by user avatar trichoplax‭ · 2024-09-02T14:29:50Z (4 months ago)
It looks like you are using a database user `root` and a password for that user of `qpixel_dev`[^1]. I suspect this is at least part of the problem, so I recommend fixing it first.

If you look in the QPixel repository at the file `config/database.yml` you should see the database username and password that QPixel is trying to connect with (for me it's lines 8 and 9):

```text
  username: qpixel
  password: redacted
```

If you set up a database user called `qpixel` and set a password that you then add to `config/database.yml`, then QPixel should be able to connect to the database.

The instructions for doing this are in the section ["Setting up the Database" in the installation instructions for QPixel](https://github.com/codidact/qpixel/blob/develop/INSTALLATION.md#setting-up-the-database). Since you have already set up QPixel in the past, but then reinstalled MySQL, you may need to repeat some of these steps if things are missing (even though you already did them when you first set up QPixel).

For example, your config files should all still be intact, but contents of the database such as tables and users may need to be created again (they may not - I'm unsure, so I recommend setting up the `qpixel` user and then seeing if that's enough before repeating any other steps).


[^1]: There is a database called `qpixel_dev`, so this may have been accidentally typed in the wrong place.