Subí mi aplicacion e inicia lapáginapero cuando va a consultar la base de datos no trae los datos. Copio el query que genera la página y lo ejecuto dentro de phpmyadmin y si trae el registro. Serán permisos?


#1

Subí mi aplicacion e inicia lapáginapero cuando va a consultar la base de datos no trae los datos. Copio el query que genera la página y lo ejecuto dentro de phpmyadmin y si trae el registro. Serán permisos?


#2

Otra página que tambien consulta la base de datos me dio este error:
Error: access violation: 1044 Access denied for user ‘id2179606_susy’@’%’ to database ‘id2179606_dbmaple’ in /storage/ssd1/606/2179606/public_html/maple/Producc/opcionProd.php:9 Stack trace: #0 /storage/ssd1/606/2179606/public_html/maple/Producc/opcionProd.php(9): PDOStatement->execute() #1 {main} thrown in /storage/ssd1/606/2179606/public_html/maple/Producc/opcionProd.php on line 9.

Es el mismo usuario y password con que entro por phpMyAdmin.


#3

Hi @jaime.jaramillo!

1044 Access denied for user ‘id2179606_susy’@’%’ to database ‘id2179606_dbmaple’

  1. Please recheck your username and password.
  2. Also note that free hosing does not offer root access to MySQL databases.
  3. Also, use localhost as MySQL host.

#4

I am using localhost as mySql host, and also using the username and password than works with phpMyAdmin.
At point 2, maybe is you telling mi that the free hosting doesn’t work with MySQL databases?


#5

You can have 2 databases on free hosting.


#6

At point 2, maybe is you telling mi that the free hosting doesn’t work with MySQL databases?

Yes it does, only you have no root access to it. I mean, you don’t have access to anything else outside your DB name and MySQL commands.

1044 Access denied for user ‘id2179606_susy’@’%’ to database ‘id2179606_dbmaple’

This error strongly means your database credentials are incorrect. Or that something else is incorrect…


  1. How many databases do you have?
  2. How many accounts do you have?
  3. Are you trying to access the database from an account with the website from another?

#7

@jaime.jaramillo can you confirm your website address please?


#8

How can I have access to my database ‘id2179606_dbmaple’, user ‘id2179606_susy’, from my application??
Thanks


#9

I can reach the database from phpMyAdmin


#10

@jaime.jaramillo can you confirm your website address please?


#11

@jaime.jaramillo Please post the website address.


#12

This is what i am trying work with: https://jjjp.000webhostapp.com/
I would like to work with the website address I just bought from you: redjjp.xyz
How can I do that?
Thanks


#13

Is your database created on another account than the one on which jjjp.000webhostapp.com is hosted?


I would like to work with the website address I just bought from you: redjjp.xyz

  1. Please go to Hostinger cPanel, at Name Servers section, delete all NameServers and add the following ones instead:
     
    NS01.000WEBHOST.COM
    NS02.000WEBHOST.COM

  2. Go to 000webhost cPanel > Set web address > Add domain > Park domain > redjjp.xyz

  3. Wait for Name Servers.


#14

When I just get login ,I can’t see any Cpanel word or link


#15

Go to https://cpanel.hostinger.com/ > Domains


#16

Doesn’t allow add NS01.000WEBHOST.COM, nor NS02.000WEBHOST.COM
I added and prked redjjp.xyz
It’s saying “Waiting for nameservers”…


#17

Hmm… @jaime.jaramillo

  1. Go to Hostinger cPanel, at DNS section

  2. Add the following CNAME records:

    redjjp.xyz -> jjjp.000webhostapp.com
    www -> jjjp.000webhostapp.com

  3. Go to 000webhost cPanel > Set web address and remove redjjp.xyz (if you can)

  4. Go to 000webhost cPanel > Set web address > Add domain > Point domain > redjjp.xyz and try it until it gets pointed. Try it from 5 to 5 minutes.


#18

The only place I found link to DNS is in PARK DOMAIN:
" … they are configured to point to our DNS name servers -…”
By clicking that it goes to a page: https://www.000webhost.com/forum/t/changing-name-servers/27817
which tells: “ Oops! That page doesn’t exist or is private.”


#19

I am now at DNS Zone. The only action is RESET To DEFAULTS.
Should I do that?


#20

The only place I found link to DNS is in PARK DOMAIN:

I have no idea what is that…

By clicking that it goes to a page: https://www.000webhost.com/forum/t/changing-name-servers/27817
which tells: “ Oops! That page doesn’t exist or is private.”

That page has been deleted by admin.

I am now at DNS Zone. The only action is RESET To DEFAULTS.

On Hostinger cPanel? If yes please do so. After that follow the steps I have provided to you here.


@Infinity, you bought a paid plan from Hostinger. Please, is there anything I am missing here? :confused:


Black Friday Sale 90% OFF
0
DAYS
0
HOURS
0
MINUTES
0
SECONDS
×