Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

March 17, 2020

Connect to public hosted Ubuntu server MySQL Docker Image from local MySQL Workbench

Hi folks,

Today I am going to explain the procedure to test the public cloud hosted MySQL docker in Ubuntu Server to your local MySQL WorkBench.

We configured a Ubuntu Server on public cloud and installed docker.
Ping the public IP address to make sure, it is reachable to your pc/laptop.

Configure System

Install MySQL Docker Image

# docker pull mysql/mysql-server:latest

Check the images

#docker images
You should be able to view the downloaded mysql server image

Start the MySQL Server

# docker run --name=mysql1 -p 33061:3306 -d mysql/mysql-server
-d : Run in daemon mode
-p host_port:container_port
--name: container name
The mapped public ubuntu server port is 33061, which is mapped to the mysql server port 3306.

Check the containers

# docker ps
You should be able to view your mysql docker containers with container id and ports information

Get the MySQL root user password

MySQL generates a one-time password for docker container and writes to the log.

  • To view the log, execute the following command

# docker logs mysql1

  • To get the generate one-time password, filter the log with keyworkd "GENERATED"

# docker logs mysql1 2>&1 | grep GENERATED

  • You should be able to get the line like below

GENERATED ROOT PASSWORD: Axegh3kAJyDLaRuBemecis&EShOs

  • Copy the one-time password. In the next step, we will use this to login.

Reset MySQL root user password


  • Connect to MySQL server

# docker exec -it mysql1 -uroot -p

  • Paste the generated root password
  • Change the password

mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'yourpwd';
mysql> FLUSH PRIVILEGES;
  • Though you have the root user credentials, you won't be able to connect.
Root cause: root user belongs to localhost, not for the public host usage
Solution: create another user with all privileges
mysql> CREATE USER 'username'@'%' IDENTIFIED BY 'youpwd';
mysql> GRANT ALL PRIVILEGES on *.* TO USER 'username'@'%' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;

  • Exit the mysql

mysql> exit;

  • Restart the docker

# docker restart mysql1

Connect from MySQL Workbench


  1. Open MySQL Workbench
  2. Click on add new connection icon
  3. Enter the "Connection name"
  4. Enter host name "public IP address" or "URL"
  5. Enter username as "dev" (Above created user)
  6. Click on Password "Store in vault" button and enter the "dev" user password
  7. Click on "Test Connection" button
  8. You should be able to view the "Successfully made the SQL Connection" pop-up


Hope this tutorial helps you to get connected with your public hosted mysql docker instance to your local mysql workbench.

Please send your feedback and comments to psrdotcom@gmail.com

December 24, 2014

Android Application Upload to Google Play Store Minimum Requirements

Hi Friends,
Today, I have prepared a simple document which required once your signed application is ready (.apk file)

Pre-requisites

Google Play Developer Console account

Procedure

The following sections will explain the procedure of requirements

APK

In this section, you can upload the .apk for testing and production
We will have following tabs/sections for the following
1)   Production
2)   Beta Testing
3)   Alpha Testing 

Note:
For Beta and Alpha testing, tester e-mail ids shall be given to access the app)

  • Click on “Upload new APK” to upload the .apk file

Store Listing

App Info

1)   Title (max 30 characters)
2)   Short description (max 80 characters)
3)   Full description (max 4000 characters)

Graphic Assets for Android App Upload

  1. Screenshots
    • Default – English (United States) – en-US
    • JPEG or 24-bit PNG (no alpha). Min length for any side: 320px. Max length for any side: 3840px.
    • At least 2 screenshots are required overall. Max 8 screenshots per type. Drag to reorder or to move between types.
  2. Hi-res icon 
    • Default – English (United States) – en-US
    • 512 px x 512 px 32-bit PNG (with alpha)
  3. Feature Graphic 
    • Default – English (United States) – en-US
    • 1024 w x 500 h JPG or 24-bit PNG (no alpha)

Categorization

1)   Application type
2)   Category
3)   Content rating

Contact Details

1)   Website (Optional)
2)   Email

Privacy Policy

If you wish to provide a privacy policy URL for this application, please enter the privacy policy URL in the specified text box.

Note:
If we don’t have the privacy policy currently, we can skip by selecting “ Not submitting a privacy policy URL at this time” option.

Services and APIs

Licensing and In-app billing

Licensing allows you to prevent unauthorized distribution of your app. It can also be used to verify in-app billing purchases. Learn more about licensing.

Your license key for this application

We will be able to see a Base64-encoded RSA public key to include in your binary. Please remove any spaces. Add it to the, licensing source code of your program for verification with Google Play Store.

Please send your feedback and comments to psrdotcom@gmail.com

February 01, 2014

Change Google + (Plus) details like Date, Description, Location

Hi Friends,

This post related to the change of Google Plus album details like data, description, location etc.

 

Problem

I have got a situation like, after my album photos upload. My latest album was not in the first position in album list.

When I just opened the album, it was showing some old date and I was not able to edit the date of the album.

The current Google + settings once you have uploaded the album.

 

Objective

Update date of your Google + album

 

Resolution Procedure

Please click on this link to redirect to Picasa web albums

https://picasaweb.google.com/lh/myphotos?noredirect=1

Now you can see all your albums

Click on the album which you want to change the album details

Change the “Date” or any other field of your choice

Save it

That’s it. You are done.

Now you can view the updated album list your Google + Albums

 

Please write your queries and comments @ http://psrtechtips.com/contact

 

Blogger Labels: Change,Google,Plus,Date,Description,Location,Friends,album,data,situation,Objective,Update,Procedure,Click,Save,comments,photos,albums

October 03, 2013

Chennai Autorickshaw Old Vs. New Fare Android Application Lite Version

Hi all,

I have released the free version of chennai autorickshaw android app in google play.

Please look at this app and send your feedback.

https://play.google.com/store/apps/details?id=info.pillisureshraju.chennaiautokaasulite

Get it on Google Play





 Download it for free.

Scan QR
and install on your phone directly.


September 24, 2013

Chennai Old Vs. New Fare Meter Fare Comparision Android App on Google Play

Hi all,

I have designed and developed an app for all the Chennaites, who use auto tranportation.

There has been an hike in prices of autorickshaw fares. Most of the autos didn't get updated to new meter with GPS functionality. Those who are traveling in old autos, either they have to compute the new fare with old (OR) pay whatever auto guy says.

Lets not pay whatever they say, we have developed an app, where you can compute and compare the old and new auto fares.

Lets give a try into looking at our app.

Scan and download app:
https://play.google.com/store/apps/details?id=info.pillisureshraju.chennaiautokaasu&hl=en

Its a complete off-line application, which doesn't require any additional permission from your mobile.

Compute and compare exact amount of old and new Chennai auto-rickshaw fare with day and night time fares.

If your hired auto doesn't have new meter and you have to compute the old and new meter fare then its very easy with our app for your new price calculation.

You can select the traveled distance in exactly using kilometers (Kms.) and meters (Mts.). If any waiting time, select in hours (Hrs.) and minutes (Min.)

Automatically you can find the old auto fare and new auto fare with day and night paying amounts.

I hope you all make use of this.

December 17, 2011

Type in Indian languages in Computer Applications like MS Word, Notepad, Browser etc

Hi all,

I am very happy to share this information. We sometimes feel like typing the content in our native speaking language. Now we can type in our native language by using any one of the following tools.

I personally tried with Google IME and I am impressed on Windows 7 Professional

Google IME Installation:
  1. Download the Google IME from this link http://www.google.com/ime/transliteration/
  2. Select your OS type (32-bit/64-bit)
  3. Click on "Download Google IME"
  4. Install the software and the installation will take sometime.
Note: For more detailed Google IME installation steps, please visit this link

Microsoft Indic Language Input Tool Installation:
  1. Download the tool from this link http://specials.msn.co.in/ilit/Telugu.aspx
  2. You can see two versions of downloads
  3. Web Version -- Browser
  4. Desktop Version -- Computer PC
  5. Download the relevant version for you and install it
Vishal's Pramukh:
Download the different versions of tools for your individual purposes like browser, JavaScript development library, HTML Editor
Download Link: http://www.vishalon.net/Download.aspx



Typing in Desired Language:
  1. Right click on the taskbar -> Select Toolbars -> Select Language Bar
  2. You will find the language bar with currently using language for typing the content. Default: EN (English)
  3. Open the Microsoft Word
  4. We can change the language by selecting the EN from taskbar to Desired Language which are listed.
  5. Type in your language by following the suggestions while typing in English.

If you find any difficulty in typing your native language, please mail to psrdotcom@gmail.com 

References:
http://www.google.com/ime/transliteration/
http://www.google.com/ime/transliteration/help.html
http://specials.msn.co.in/ilit/GettingStarted.aspx?languageName=Telugu&redir=true&postInstall=false
http://www.vishalon.net/Download.aspx

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com