Cannot login into Phpmyadmin (user/pass is correct) [closed] - mysql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm trying to login into my phpmyadmin but it keep getting redirected to the login page. I know user and password are correct because my website is still working properly and I can even connect to mysql using putty.
I noticed I'm getting "Cant create/write to file '/tmp/XXXXXXX' Errcode28" on one of my tables which apparently means lack of disk space so I deleted all the rows but it didn't resolve the issue.
I used df -h command and it says I have only used 13% of /dev/vdal1.
I don't even know where to start. Has anyone experienced this before?

Ok for all those out there feeling helpless like me here is the solution:
SSH to your server
type df -i to see if your inode usage is full if yes
type cd/
type this:echo -e "Inode count forpwd:\n"; /bin/ls -A|awk '{print "count=find \""$0"\"|wc -l; echo \""$0" \t\t $count\""}'|sh|awk '$NF != "1" {inode=$NF;$NF="";print "printf \"%-50s %8d\\n\" \""$0"\" \""inode"\""}'|sh && printf "%-50s %8d\n" "Total:" "find ${pwd}|wc -l"
this shows you which directory is using that space the most.
cd into that directory and repeat step 4 and 5 until you get to the directory that has the highest usage
clear as much as you can in that directory
reboot
enjoy :)

Related

How do I use MySQL Binlog for PITR [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 24 days ago.
Improve this question
I am attempting to recover lost data using mysqlbinlog. Admittedly I am far from an expert in using MySQL, and even farther when using command line, so any advise would be very very welcome. I've seen so many docs that say what to do to view the binlogs, but it does not work at all on my machine. What am I doing wrong here?
This is exactly what happens every time
I've tried running this multiple times. I've also tried listing out the path to the binlog file in that Data folder.
Update: Same thing happens when using MySQL Shell
Run the mysqlbinlog command at a shell prompt, not in the MySQL client.

GRUB2 menu in early config [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 months ago.
Improve this question
I'm trying to create a menu in the early config file of GRUB 2.04 in file early.cfg:
menuentry foo {
echo foo1
}
menuentry bar {
echo bar1
}
I'm building core.img with:
$ grub-mkimage -v -v -v -C xz -O i386-pc -p /prefix -o core.img -c early.cfg biosdisk part_msdos part_gpt luks linux16 gcry_rijndael gcry_sha512 gcry_sha256 lvm chain cpio gzio xzio search echo fat ext2 reiserfs btrfs zfs xfs ntfs ntfscomp
At boot time no filesystems are available (yet) to load grub.cfg from. When I boot, I get the grub> prompt.
How do I get to the menu? I tried typing normal + Enter, Esc, Esc, but it doesn't show me the menu, it just puts me back to the grub> prompt with the screen cleared.
Ultimately I'd like to activate the menu defined in the early config by default. How do I do that?
According to the GRUB2 manual, it's impossible to have menu entries in early.cfg:
The embedded configuration file may not contain menu entries directly, but may only read them from elsewhere using configfile.

Programming and computer science basics [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Today, to make MySQL work on my Ubuntu i found some piece of code that i had to type in the terminal to install MySQL server. Then i had to insert some code like:
mysql -u root -p /*enter*/
then insert my password and enter again.
At this point i created a new database with the code
mysql> create database MyFirstDatabase; /*enter*/
Fact is that i have no idea of what i did and why. Why did i have to install MySQL server and why my workbench wasn't working before? Why my username was root?
Where the database file was created, in which folder?
I want to be able to know the answer to questions like:"what happen in the machine when i declare a variable?" or "What happen if i declare an array with a certain number of elements but with no content in them?" and also "what happens in the pc when i run a SQL query with an inner join?".
ADDITIONS
I had also no idea why one of the IT technician of the university asked me if i had an apache server. Why did he ask this? I admit i have no idea of client/server from a technical perspective
By inserting the first command in the terminal you're accessing the MySQL cli interface which commands the MySQL server. The second command (with prompt mysql>) is a query itself made directly in the cli and submitted at your enter.
For what MySQL is used for... well you should already know, as "Oracle", it is a relational database and it is used to store data in a relational way.
Root is the username with ALL privileges, in every field, the root user is the one who have all the power in his hand. Database files are usually stored in /var/lib/mysql if I remember correctly (on Ubuntu).
For the other questions I can't really answer you since it would require much time and starting from scratch.
Beware: Asking for suggestions or recommendations in this site is a good way to get your question closed.

Error "The passwords provided for the Sugar database user do not match. Please re-enter the same passwords in the password fields" [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
When tried to install the sugarcrm with mysql database.
It is showing an error
The passwords provided for the Sugar database user do not match.
Please re-enter the same passwords in the password fields
But the entered passwords for both fields: "Password" and "Re-enter password" are same.
I have tried it many times but the error still persist. So please help to connect sugarcrm with mysql.
I assume you are asking about how to have the Sugar installer create a new DB user for you, and are getting this error.
This is a known bug, and yet Sugar has not fixed it.
You can patch the file responsible yourself, OR you can use a known db user (i.e. root or other) and change the user later (in the config.php file), OR create a new user in the db first, then use that (rather than having Sugar create the user).
per http://forums.sugarcrm.com/f115/new-installation-cant-use-option-define-user-create-database-screen-78786/#post281399, there is an extra hidden INPUT in install/dbConfig_a.php that you should remove if you wish to patch the file yourself.
In version 6.5.15, this is line 198.
Based on the forum post linked above, this issue has persisted since 6.4.5 or earlier.

Lost admin previlage of phpmyadmin [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
I wanted to change phpmyadmin password using mysql database -> users table .. i changed password user root and once i restarted phpmyadmin all my databases were gone it was like i am not the admin anymore and now i have only 2 default databases
information_schema and test
what is the reason of this problem and how can i fix it ?
You have to explicitly create the user and the password. As mySQL does not support the creation of the username automatically.
I believe this has been answered before...
mysql phpmyadmin user password for database
Follow the following procedure.
1.Go to adressbar then type ip address for localhost (127.0.0.1).
2.In window that will appear
Type username root while password leave blank then press enter to continue.