PHP localhost

can i uncomment it?
No description
28 Replies
Jochem
Jochem4mo ago
What are you trying to accomplish?
0012039810328
00120398103284mo ago
I resolved that issue already, thanks for noticing. But the problem is i cant login to admin. Could you check my config file? here: /* Authentication type and info / $cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = ''; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['AllowNoPassword'] = false; $cfg['Lang'] = ''; / Bind to the localhost ipv4 address and tcp / $cfg['Servers'][$i]['host'] = '127.0.0.1'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['port'] = '3308'; / User for advanced features */ $cfg['Servers'][$i]['controluser'] = 'pma'; $cfg['Servers'][$i]['controlpass'] = ''; my username: root
my password: password what kind of error is this? ERROR 1045 (28000): Access denied for user 'adria'@'localhost' (using password: YES)
Jochem
Jochem4mo ago
That's a rights issue in mysql You have to set up a user in mysql and then use that user and password in your config
0012039810328
00120398103284mo ago
Bro, my last choice is to reset the mysql or reinstall xampp. What do you recommend? i cant access my database, but i can open it thru putting the aut type to 'config' which mean i can access it without using username and password
Jochem
Jochem4mo ago
you can reset mysql's password and add new users as long as you have access to the machine it's running on I'd recommend looking up instructions online for resetting mysql's root password in xampp and then follow other instructions on how to add a user for your application so you can use those credentials to connect to the db
ἔρως
ἔρως4mo ago
what are you trying to do? im really confused
0012039810328
00120398103284mo ago
Good news, problem solved! Im happy! This guys is a life saver!https://www.youtube.com/watch?v=mqBp9RLtPDs
REGex Software
YouTube
how to reset mysql root password in windows 11 | how to reset mysql...
how to reset mysql root password in windows 11 , how to change mysql root password mysql root password reset in mysql workbench Things discussed in video: how to reset mysql root password how to change mysql root password mysql root password change in windows 11 reset mysql password #mysql #mysql_workbench #database #windows
0012039810328
00120398103284mo ago
i was trying to login php admin
ἔρως
ἔρως4mo ago
php admin?
0012039810328
00120398103284mo ago
database?
ἔρως
ἔρως4mo ago
you mean, phpmyadmin? in xampp?
0012039810328
00120398103284mo ago
yes
ἔρως
ἔρως4mo ago
oh, the login is "do nothing" in localhost/phpmyadmin
0012039810328
00120398103284mo ago
who loves PHP?
ἔρως
ἔρως4mo ago
you shouldnt change the configurations of it because then you will struggle to do things like creating users
0012039810328
00120398103284mo ago
i think php is not for beginners?
ἔρως
ἔρως4mo ago
this has nothing to do with php this is just mysql
0012039810328
00120398103284mo ago
oh yea im sorry haha
ἔρως
ἔρως4mo ago
phpmyadmin is a mysql client
0012039810328
00120398103284mo ago
My professor told us to use php for capstone project. But i was into javascript so i dont have any idea about php but good thing theres AI
ἔρως
ἔρως4mo ago
if you use xampp, all you need to do is to delete the trash in htdocs and put stuff there
0012039810328
00120398103284mo ago
oh ok, thank u
ἔρως
ἔρως4mo ago
asking ai for help is like going to the town drunk and asking for his favorite lighter color you may get a somewhat convincing answer or incomprehensible garbage you never know
0012039810328
00120398103284mo ago
my biggest problem working with mysql is everytime I stop or exit the server i got sql errors when i come back yea lol
ἔρως
ἔρως4mo ago
make a post with the errors
0012039810328
00120398103284mo ago
yea but good thing u guys like u is existing to help people like me im stressing a lot working with my first project Thanks for the second time!
ἔρως
ἔρως4mo ago
i didnt do anything but you're welcome
0012039810328
00120398103284mo ago
i just appreciate your effort bro
Want results from more Discord servers?
Add your server