Bluehost Support
End chat and take a survey?
This chat has been closed due to inactivity
O
Dedi/VPS: Dedi Support

MYSQL Server problems
9:34 pm
S
Shravya joined
9:34 pm
O
Hi 
Shravya 
9:34 pm
S
 Hello,Omar. I'm Shravya. Welcome to Live Chat. I'm really sorry to know that you are having issue with MySQL servers, I'll definitely look into the issue for you.
9:35 pm
O
send me the link for token pleaseee
9:35 pm
S
 To safeguard your accounts sensitive information, please provide the token number sent to your registered email address to authenticate. If you have not received it via email, please generate it at: https://my.bluehost.com/cgi/token 
9:35 pm
O
205499
I get a lot of 500 internal server error in my shared hosting.
Bluehost support told me to upgrade to dedicated premimium server, so I did.
I purchased rimauapplication.com (DEDICATED PREMIUM) from David M few days ago.  
i migrated all my web apps
9:36 pm
S
 Thank you for the authentication. 
9:36 pm
O
PROBLEMS:  the Mysql server is not the same version
it gives me lots of erros
9:37 pm
S
I'm really sorry to know that the MySQL version on this server is causing the issue. What is the mysql version required for your applications to work ?
9:37 pm
O
I purchased rimauapplication.com (DEDICATED PREMIUM) from David M few days ago.  
   Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5
   Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5
MY WEB application work perfectly fine in  SHARED HOSTING
9:40 pm
S
I have checked the server and see that the MySQL version on this server is 5.7.35
9:41 pm
O
yes
9:41 pm
S
What is the mySQL version required for your web applications ?
9:41 pm
O
   Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5
the database that work fine (IN MY SHARED HOSTING - BLUEHOST)    Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5
9:42 pm
S
I'm really sorry, the MySQL version available on this server is 5.7.35  and this can not be downgraded .
9:43 pm
O
then i have to cancel this purchased i guess
too much work to be done, sorry
9:43 pm
S
If you dont mind, Im going to put you on hold for 2 -3  minutes while I quickly review the account for you. 
9:44 pm
O
ok thanks so much
9:44 pm
S
 Thanks for your patience, its taking longer than I expected. Im still check the account to see if any changes can be done on the server end. I'll be back with an update in 3 -4 minutes.
9:49 pm
O
ok no worry
i think also, the server was not installed correctly... everything seems to be slower in dedicated server compare to my existing SHARED server
9:50 pm
S
Thank you for being on hold. Can you please let me know the exact error you are receiving on the website ?
9:52 pm
O
mysql required me to have default value for my table column
9:53 pm
S
Can you please provide me the exact error so that I can check ?
9:53 pm
O
can't do insertion when the default value is not set
hold on
9:54 pm
S
Yes, Please . I'll be here.
9:54 pm
O
ERROR
: Error (insert sql):
Field 'keterangan' doesn't have a default value
9:55 pm
S
May I know where exactly are you receiving that error ?
9:55 pm
O
in SHARED server i dont have this problem
hold on
that's the error i get
no error log file
9:56 pm
S
Can you please provide me the steps to replicate this ? Where do you see the error ?
9:56 pm
O
when INSERTING to a table
9:56 pm
S
Is it on the database table ?
9:56 pm
O
when inserting to mysql table, i get this error
ERROR
: Error (insert sql):
Field 'keterangan' doesn't have a default value
it works fine in SHARED hosting
9:57 pm
S
Thank you for the error and information provided , let me check .
9:57 pm
O
thanks
9:57 pm
S
Can you please provide me the screenshot of the error ?
10:01 pm
O
how can i sent image
10:02 pm
S
Here are the steps to share the screenshot:
Click on this link: https://privatebin.support-tools.com/
You can either drag & drop the screenshot or paste the screenshot or click on 'Attach a file'. Please note that the screenshot gets attached without getting displayed on the screen.
Click on 'Send' at the top right corner to generate a unique link which will contain the screenshot.
Copy the displayed (highlighted) link and paste it here in the chat.
10:03 pm
O
https://privatebin.support-tools.com/?3f6cec6e32baf333#wD/oanhn1bUsqIfynIN5ls5rD0vlyPaz1CjLKJgYsOk=
10:05 pm
S
This happens because strict mode will be enabled in phpmyadmin
Please  go to phpmyadmin  >> Variables >> Sql mode
 enter : NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
And then save
then try to edit that filed
10:07 pm
O
edit what field?
file
10:07 pm
S
I meant the insertion you are trying to do 
10:08 pm
O
hold on
10:08 pm
S
Sure!
10:08 pm
O
phpmyadmin  >> Variables >> Sql mode
how do i get here?
10:09 pm
S
Access cPanel >> PhpMyAdmin
10:10 pm
O
https://privatebin.support-tools.com/?d26f3b44b5969196#0Br0TUz6BaU1J2g7iU1Dxlz/7Sxr3rPkR8grNEPEwX4=
10:12 pm
S
Click on the database name then you will see variables at the top
10:14 pm
O
https://privatebin.support-tools.com/?7b0bde450336f73b#10KZbBfdfOUbShvJC87jNhgryTwGVDpjzVuiH0RfRlg=
access Denied
10:16 pm
S
Shravya left
Bhavishya joined
10:17 pm
O
hiiii
https://privatebin.support-tools.com/?7b0bde450336f73b#10KZbBfdfOUbShvJC87jNhgryTwGVDpjzVuiH0RfRlg=
10:17 pm
B
 Hello, Omar . I'm sorry about the disconnection. I'm glad we're connected once again. Please give me 2-3 minutes while I review your previous conversation to better understand your issue. 
10:17 pm
O
ok
thanks
10:18 pm
B
 Thank you for your patience. I understand that you are trying to edit the sql mode. It wont work from cpanel >> phpmyadmin. Inorder to edit the sql mode please access WHM >>phpmyadmin
10:21 pm
O
no problem
10:21 pm
B
Do you know how to access WHM?
10:21 pm
O
ok hold on
10:21 pm
B
Sure
10:22 pm
O
OK DONE
let me try again
10:23 pm
B
Sure. and let me know
10:23 pm
O
insertion works now...
10:24 pm
B
That's great! 
10:24 pm
O
FYI:
I have 3 sites with bluehost:
1. rimauapplication.com (DEDICATED PREMIUM)
   Database Server version: 5.7.35 - MySQL Community Server (GPL)

2. rimauapps.com (SHARED)
   Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5
   Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5

3. i-fitsport.com (SHARED)
   Database Server version: 5.6.41-84.1 - Percona Server (GPL), Release 84.1, Revision b308619

when i copy database (SERVER TO SERVER) using PHP:
COPY FROM SHARED SERVER TO SHARED SERVER
COPY FROM rimauapps.com to i-fitsport.com  (execution time only: 1 MINUTES 20 seconds)
COPY FROM SHARED SERVER TO DEDICATED SERVER
COPY FROM rimauapps.com to rimauapplication.com (execution time only: 2 MINUTES 43 seconds)
dedicated server is so much slower
David M told me that he will fine tune my server and database for me
10:25 pm
B
Can you please confirm me what exactly you are trying to do?
10:25 pm
O
copy table
server to server
shared --- shared is only 1 minutes 
20 second
shared to dedicated is 2 minutes 43 seconds
copying about 60 tables
10:27 pm
B
 Thank you for the information. Let me check on this.  Please be on hold for 2-3 minutes while I check your account.
10:27 pm
O
looping
before i purchased the DEDICATED hosting, David M told me that he will fine tune my server and database for me
i dont have any knowledge in server fine tuning
10:28 pm
B
Can you please confirm me , if you are uploaded website files to this server?
10:29 pm
O
the reason i purchased this dedicated server is because i get many 500 internal server errors
i am copying database using PHP from 1 server to another server
FYI:
I have 3 sites with bluehost:
1. rimauapplication.com (DEDICATED PREMIUM)
   Database Server version: 5.7.35 - MySQL Community Server (GPL)

2. rimauapps.com (SHARED)
   Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5

3. i-fitsport.com (SHARED)
   Database Server version: 5.6.41-84.1 - Percona Server (GPL), Release 84.1, Revision b308619

10:30 pm
B
I understand your concern. Direct database transfer from one server  to another server wont work. You need to download the sql files from the shared server and need to upload the sql files here and have to import it.
10:30 pm
O
when i copy database from NO.2  to NO.3    FAST
when i copy database from NO.2  to NO.1   SLOW

i understand that...  but part of the web application is copying database from server to server
how come copying to DEDICATED is slower? same data
10:32 pm
B
 Thank you for the confirming. Let me check the server functionality.  Please be on hold for 2-3 minutes.
10:33 pm
O
can you please fine tune the server for me please, including mydatabase server?
David M told me that he will fine tune everything for me and that is why i puchased this dedicated server
so far, everything seems to be not working perfectly
the server will be running PHP, AJAX, MYSQL - concurrent user up to 100
10:36 pm
B
I'm really sorry about that. I have checked and mysql seems to be good. There is no any issues on the sql server. Can you please try to import the database via SSH that will work faster and earlier?
10:37 pm
O
in SHARED hosting i get many 500 INTERNAL SERVER ERRORS -  TOO MANY CONNECTION ACCORDING TO DAVID M.
10:37 pm
B
easier*
10:37 pm
O
 Can you please try to import the database via SSH that will work faster and essier?  I DON't understand this
can you please fine tune the server for me please, including mydatabase server?
David M told me that he will fine tune everything for me and that is why i puchased this dedicated server
so far, everything seems to be not working perfectly
the server will be running PHP, AJAX, MYSQL - concurrent user up to 100
i have no knowledge on server fine tuning
or database finetuning
performance tuning
10:40 pm
B
I understand your concern. Let me investigate on this further,.  Please be on hold for 2-3 minutes .
10:40 pm
O
thank you so much... thanks
In SHARED hosting i get many 500 INTERNAL SERVER ERRORS -  David told me ===> TOO MANY CONNECTION 
according to David everything will be much faster and the 500 Internal Server errors will disappear
he will help me setting up everything
10:42 pm
B
I'm checking on the server functionality.  Please be on hold for 2-3 minutes more.
10:45 pm
O
sure... thanks so so muchhhh
10:45 pm
B
I understand that you are getting  500 INTERNAL SERVER ERRORS in shared hosting acount and so that you have signued up for Dedicated account. Dedicated account will be faster and it will perform high once you moved the website files to this server. 
10:48 pm
O
already moved everything
10:49 pm
B
May I know the size of the database that you are trying to copy to this server?
10:49 pm
O
that was just for testing the speed
60 tables - 50 columns approximately, total line for all table is 500,000 lines
FYI:
I have 3 sites with bluehost:
1. rimauapplication.com (DEDICATED PREMIUM)
   Database Server version: 5.7.35 - MySQL Community Server (GPL)

2. rimauapps.com (SHARED)
   Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5
   Database Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5

3. i-fitsport.com (SHARED)
   Database Server version: 5.6.41-84.1 - Percona Server (GPL), Release 84.1, Revision b308619

copy from server 2 to server 1 (1 minutes 20 seconds)
sorry wrong
copy from server 2 to server 3
 (1 minutes 20 seconds)
copy from server 2 to server 1 (2 minutes 43 seconds)

server 1 is dedicated
same data
$query		= "SELECT * FROM `$tablename`";
$result		= mysqli_query($con1, $query); 		

while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) 
{
	$query = "INSERT INTO `$tablename` (" . implode(", ", array_keys($row)) . ") VALUES ('" . implode("', '", array_values($row)) . "')";
	$result = mysqli_query($con, $query);

	if(!$result)
	{ 
		$remark = "INSERT ERROR: ".mysqli_error($con) ;
		include 'userActivity.php';

		die("INSERT ERROR.: ".mysqli_error($con));
	}
}
10:53 pm
B
 Thank you for the information. I see the server limits are set to minimum and that's the reason you are facing such issues. I will create a ticket to our higher level team to increase the limits and optimise the server well so that performance and speed will be high. Shall I create the ticket now?
10:53 pm
O
simple standard PHP code
wow thank you thank you
10:53 pm
B
You are welcome. I will create the ticket then.  Please be on hold for 2-3 minutes.
10:54 pm
As you wait for the next available agent, please feel free to browse our knowledge base website. You will find answers to common support questions
Please wait for the next available agent
You will be connected to an agent within 5 minutes
Type your message here...
Thank you for contacting Bluehost support. Please rate your support representative in the following areas from 1 to 5 (5 being the best).
My representative was knowledgeable.





My representative was courteous and willing to help.





Did we resolve your issue today?
Thank you for your valuable feedback! Let us know what we did well and what we can improve upon.
You are welcome. I will create the ticket then.  Please be on hold for 2-3 minutes.
I have created the ticket and your reference number is 34457817. Our team will check on this and contact you via Email.


https://privatebin.support-tools.com/?7b0bde450336f73b#10KZbBfdfOUbShvJC87jNhgryTwGVDpjzVuiH0RfRlg=




this dedicated server has been giving so much problems.
I have reported so many times but nothing get solved.

now it is running life and very slow.

it is slower than my shared server

problems:
1. server to server database access access slow
2. doing database backup using SQLBackupAndFTP seriously slow
3. ping to server takes 300 ms or more or time out



to clarify everything, this is my problems:

1. mysql access is very slow
2. i need the MSQL MODE setting in phpMyadmin to be permanantly set as 
MSQL MODE=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

This happens because strict mode will be enabled in phpmyadmin
Please  go to phpmyadmin  >> Variables >> Sql mode
 enter : NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
And then save
